io
Class: FileSource Location: /io/filesystem/file.class.php [line 47] Class OverviewFileSystemElement | --File This class represents a text file which can be read and written.
Author(s):
Class DetailsClass Methodsconstructor File [line 55]
Builds a File object.
Parameters:method close [line 215]
Closes a file and frees the allocated memory relative to the file.
method delete [line 229]method finclude [line 294]
Includes the file. Executes its PHP content here. Equivalent to the PHP include function. Tags:Parameters:method frequire [line 311]
Requires the file. Executes its PHP content here. Equivalent to the PHP require function. Tags:Parameters:method get_contents [line 112]
Returns the content of the file. Tags:Parameters:method get_last_access_date [line 331]
Returns the last access date of the file. Tags:method get_last_modification_date [line 322]
Returns the date of the last modification of the file. Tags:method get_lines [line 143]
Returns the content of the file grouped by lines. Tags:Parameters:method lock [line 254]
Locks the file (it won't be readable by another thread which could try to access it).
Parameters:method open [line 84]
Opens the file. You cannot read or write a closed file, use this method to open it.
Overrides FileSystemElement::open() (Opens the file system element.)
method unlock [line 267]
Unlocks a file. The file must have been locked before you call this method.
method write [line 175]
Writes some text in the file. Tags:Overrides FileSystemElement::write() (Does the necessary treatment to apply at each writing operation)Parameters:Class Variables
|
Documentation generated on Tue, 28 Jul 2009 22:43:37 +0200 by phpDocumentor 1.4.1
Les partenaires
Le projet PHPBoost
Contribuer au Projet
Support PHPBoost