/**
* constructor
*
+ * @access public
+ *
* @param mixed $arg ignored argument
*/
public function __construct($arg) {
/**
* Reads entire file into a string
*
+ * @access public
+ *
* @param string $file Name of the file to read.
* @return string|bool The function returns the read data or false on failure.
*/
/**
* Reads entire file into an array
*
+ * @access public
+ *
* @param string $file Path to the file.
* @return array|bool the file contents in an array or false on failure.
*/
/**
* Write a string to a file
*
+ * @access public
+ *
* @param string $file Remote path to the file where to write the data.
* @param string $contents The data to write.
* @param int $mode Optional. The file permissions as octal number, usually 0644.
/**
* Gets the current working directory
*
+ * @access public
+ *
* @return string|bool the current working directory on success, or false on failure.
*/
public function cwd() {
/**
* Change directory
*
+ * @access public
+ *
* @param string $dir The new current directory.
* @return bool Returns true on success or false on failure.
*/
/**
* Changes file group
*
+ * @access public
+ *
* @param string $file Path to the file.
* @param mixed $group A group name or number.
* @param bool $recursive Optional. If set True changes file group recursively. Default false.
/**
* Changes filesystem permissions
*
+ * @access public
+ *
* @param string $file Path to the file.
* @param int $mode Optional. The permissions as octal number, usually 0644 for files,
* 0755 for dirs. Default false.
/**
* Changes file owner
*
+ * @access public
+ *
* @param string $file Path to the file.
* @param mixed $owner A user name or number.
* @param bool $recursive Optional. If set True changes file owner recursively.
/**
* Gets file owner
*
+ * @access public
+ *
* @param string $file Path to the file.
* @return string|bool Username of the user or false on error.
*/
*
* FIXME does not handle errors in fileperms()
*
+ * @access public
+ *
* @param string $file Path to the file.
* @return string Mode of the file (last 3 digits).
*/
}
/**
+ * @access public
+ *
* @param string $file
* @return string|false
*/
}
/**
+ * @access public
+ *
* @param string $source
* @param string $destination
* @param bool $overwrite
}
/**
+ * @access public
+ *
* @param string $source
* @param string $destination
* @param bool $overwrite
}
/**
+ * @access public
+ *
* @param string $file
* @param bool $recursive
* @param string $type
return $retval;
}
/**
+ * @access public
+ *
* @param string $file
* @return bool
*/
return @file_exists($file);
}
/**
+ * @access public
+ *
* @param string $file
* @return bool
*/
return @is_file($file);
}
/**
+ * @access public
+ *
* @param string $path
* @return bool
*/
}
/**
+ * @access public
+ *
* @param string $file
* @return bool
*/
}
/**
+ * @access public
+ *
* @param string $file
* @return bool
*/
}
/**
+ * @access public
+ *
* @param string $file
* @return int
*/
}
/**
+ * @access public
+ *
* @param string $file
* @return int
*/
}
/**
+ * @access public
+ *
* @param string $file
* @return int
*/
}
/**
+ * @access public
+ *
* @param string $file
* @param int $time
* @param int $atime
}
/**
+ * @access public
+ *
* @param string $path
* @param mixed $chmod
* @param mixed $chown
}
/**
+ * @access public
+ *
* @param string $path
* @param bool $recursive
* @return bool
}
/**
+ * @access public
+ *
* @param string $path
* @param bool $include_hidden
* @param bool $recursive