Skip to content

Commit

Permalink
Add missing docs
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Apr 11, 2016
1 parent 32d360e commit 33cd6f3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions libraries/File.php
Expand Up @@ -647,6 +647,13 @@ public function open()
return ($this->_handle !== false);
}

/**
* Opens file from zip
*
* @param string|null $specific_entry Entry to open
*
* @return bool
*/
public function openZip($specific_entry = null)
{
include_once './libraries/zip_extension.lib.php';
Expand Down Expand Up @@ -675,6 +682,8 @@ public function eof()

/**
* Closes the file
*
* @return void
*/
public function close()
{
Expand All @@ -691,6 +700,8 @@ public function close()
/**
* Reads data from file
*
* @param int $size Number of bytes to read
*
* @return string
*/
public function read($size)
Expand Down

0 comments on commit 33cd6f3

Please sign in to comment.