Class: File_Module
Source Location: /file.php
Module_Skeleton
|
--File_Module
|
|
|
Class Details
[line 8]
Class Variables
Class Methods
method chgrp [line 579]
bool chgrp(
string
$mFile, string
$mGroup, [bool
$mRecursive = false])
|
|
bool chgrp(string, string[, bool = false])
Tags:
Parameters:
method chgrp_backend [line 593]
void chgrp_backend(
$mFile,
$mGroup,
$mRecursive)
|
|
Tags:
Parameters:
method chmod [line 696]
void chmod(
string
$mFile, int
$mMode, [bool
$mRecursive = false])
|
|
bool chmod (string, int)
Tags:
Parameters:
method chmod_backend [line 708]
void chmod_backend(
$mFile,
$mMode,
$mRecursive)
|
|
bool chmod_backend (string, int[, bool = false]) chmod
Tags:
Parameters:
method chown [line 518]
bool chown(
mixed
$mFile, string
$mUser, [bool
$mRecursive = false])
|
|
bool chown(string, string[, bool = false])
Tags:
Parameters:
method chown_backend [line 529]
void chown_backend(
$mFile,
$mUser,
$mRecursive)
|
|
Tags:
Parameters:
method chown_symlink [line 1632]
void chown_symlink(
$mFile,
$mUser)
|
|
Tags:
Parameters:
method chown_symlink_backend [line 1642]
void chown_symlink_backend(
$mFile,
$mUser)
|
|
Tags:
Parameters:
method convert_eol [line 1561]
void convert_eol(
$mFile,
$mEOL)
|
|
Tags:
Parameters:
method convert_eol_backend [line 1568]
void convert_eol_backend(
$mFile,
$mTarget)
|
|
Tags:
Parameters:
method copy [line 272]
void copy(
$mSrc,
$mDest, [
$mOwrite = true])
|
|
Tags:
Parameters:
method copy_backend [line 282]
void copy_backend(
$mSrc,
$mDest,
$mOwrite)
|
|
Tags:
Parameters:
method copy_storehouse_backend [line 1343]
void copy_storehouse_backend(
$mApplication,
$mVersion,
$mSrc,
$mDest)
|
|
bool copy_storehouse_backend(string, string)
Tags:
Parameters:
method copy_storehouse_raw_backend [line 1326]
void copy_storehouse_raw_backend(
$mApplication,
$mSrc,
$mDest)
|
|
bool copy_storehouse_raw_backend(string, string, string) Similar to copy_storehouse_backend, except source references a file within /var/storehouse/<application>/.
Tags:
Parameters:
method create_directory [line 661]
void create_directory(
string
$mDir, [integer
$mMode = 0755], [bool
$mRecursive = true])
|
|
bool create_directory (string[, int[, bool]]) Creates a directory within the filesystem and will recursively create parent directories if need be
Tags:
Parameters:
method create_directory_backend [line 673]
void create_directory_backend(
$mDir,
$mMode,
$mRecursive)
|
|
bool create_directory_backend (string) Backend for create_directory
Tags:
Parameters:
method create_file [line 1091]
void create_file(
string
$mFile, [integer
$mMode = 0644])
|
|
bool create_file (string[, integer = 0644])
Tags:
Parameters:
method create_file_backend [line 1099]
void create_file_backend(
$mFile,
$mMode)
|
|
bool create_file_backend (string, integer) create_file
Tags:
Parameters:
method create_symlink [line 1588]
void create_symlink(
$mSrc,
$mDest)
|
|
Tags:
Parameters:
method create_symlink_backend [line 1592]
void create_symlink_backend(
$mSrc,
$mDest)
|
|
Tags:
Parameters:
method delete [line 392]
bool delete(
mixed
$mFile, [bool
$mRecurse = false])
|
|
bool delete (mixed, [bool = FALSE]) Deletes a file from within the filesystem and calls can_delete
Tags:
Parameters:
method delete_backend [line 444]
void delete_backend(
$mFile,
$mRecurse)
|
|
bool delete_backend (mixed, [bool = FALSE]) delete
Tags:
Parameters:
method extract [line 121]
bool extract(
string
$mArchive, string
$mDest)
|
|
bool extract (string, string) Extracts files from $mArchive to $mDest
Tags:
Parameters:
method extract_backend [line 129]
void extract_backend(
$mArchive,
$mDest)
|
|
bool extract_backend (string, string) extract
Tags:
Parameters:
method file_exists [line 1737]
void file_exists(
$mFile)
|
|
Tags:
Parameters:
method find_quota_files [line 1729]
void find_quota_files(
[
$mFile = NULL])
|
|
Tags:
Parameters:
method fix_apache_perms_backend [line 1370]
void fix_apache_perms_backend(
$mPath
$mPath, [
$mRecurse = false])
|
|
bool fix_apache_perms_backend(mixed [, bool = false])
Tags:
Parameters:
method get_acls [line 955]
array get_acls(
string
$mFile)
|
|
array get_acls (string)
Tags:
Parameters:
method get_acls_backend [line 962]
void get_acls_backend(
$mFile)
|
|
array get_acls_backend_string (string)
Tags:
Parameters:
method get_archive_contents [line 233]
array get_archive_contents(
$mFile)
|
|
array get_archive_contents (string)
Tags:
Parameters:
method get_archive_contents_backend [line 241]
void get_archive_contents_backend(
$mFile)
|
|
array get_archive_contents_backend (string) get_archive_contents
Tags:
Parameters:
method get_directory_contents [line 1187]
array get_directory_contents(
$mString, string
$mPath)
|
|
array get_directory_contents (string)
Tags:
Parameters:
method get_directory_contents_backend [line 1275]
void get_directory_contents_backend(
$mPath)
|
|
array get_directory_contents_backend (string) get_directory_contents
Tags:
Parameters:
method get_file_contents [line 1033]
string get_file_contents(
string
$mPath, [
$mRaw = FALSE])
|
|
mixed get_file_contents (string) Returns the base64-encoded contents of a file
Tags:
Parameters:
method get_file_contents_backend [line 1054]
base64 get_file_contents_backend(
string
$mPath, bool
$mRaw)
|
|
string get_file_contents_backend (string) get_file_contents
Tags:
Parameters:
method get_mime_type [line 919]
void get_mime_type(
string
$mFile, [
$mFormat = 'normal'])
|
|
string get_mime_type (string) Determines the MIME type of a file through the file shell command
Tags:
Parameters:
method get_mime_type_backend [line 935]
void get_mime_type_backend(
$mFile,
$mFormat)
|
|
string get_mime_type_backend (string)
Tags:
Parameters:
method get_registered_extensions [line 112]
array get_registered_extensions(
)
|
|
array get_registered_extensions () Keys from the return value correspond to the extension type, values are the classes all implementing the common interface Compression_Interface
Tags:
method is_compressed [line 183]
bool is_compressed(
string
$mFile)
|
|
bool is_compressed (string) Checks to see if a file is a compressed archive through a bit of guestimation
Tags:
Parameters:
method make_path [line 1197]
void make_path(
string
$mPath, [
&$mLink = ''])
|
|
string make_path (string) Returns a path outside the chroot'd environment
Tags:
Parameters:
method move [line 407]
void move(
string
$mSrc, string
$mDest, [string
$mOwrite = false])
|
|
bool move(string, string[, bool = false])
Tags:
Parameters:
method move_backend [line 418]
void move_backend(
$mSrc,
$mDest,
$mOwrite)
|
|
bool move_backend(string, string, bool)
Tags:
Parameters:
method put_file_contents [line 1130]
bool put_file_contents(
$mFile, string
$mData, [bool
$mOverwrite = FALSE], string
$mPath)
|
|
bool put_file_contents (string, string[, bool = FALSE])
Tags:
Parameters:
method put_file_contents_backend [line 1137]
void put_file_contents_backend(
$mFile,
$mData,
$mOverwrite)
|
|
string put_file_contents_backend (string) put_file_contents
Tags:
Parameters:
method rename [line 1673]
void rename(
$mSrc,
$mDest)
|
|
Tags:
Parameters:
method rename_backend [line 1678]
void rename_backend(
$mSrc,
$mDest)
|
|
Tags:
Parameters:
method report_quota [line 1465]
array report_quota(
$mUIDs
$mUIDs)
|
|
array report_quota (mixed)
Tags:
Parameters:
method report_quota_backend [line 1478]
void report_quota_backend(
$mUIDs)
|
|
* array report_quota_backend (array)
Tags:
Parameters:
method sanitize [line 1438]
bool sanitize(
mixed
$mFile)
|
|
bool sanitize (mixed)
Tags:
Parameters:
method set_handler [line 100]
void set_handler(
&$function)
|
|
Tags:
Parameters:
method stat [line 648]
array stat(
$mFile
$mFile)
|
|
array stat (string) TODO: Cross-reference ACLs for additional read/write constraints
Tags:
Parameters:
method stat_backend [line 798]
void stat_backend(
$mFile)
|
|
array stat_backend (string)
Tags:
Parameters:
|
|