FRED™  3.0
FRED™: Framework for Rapid and Easy Development
File Class Reference
Inheritance diagram for File:
Container Thing

Data Fields

 $path = null
 
 $ext = '.dat'
 
 $mode = 0666
 
- Data Fields inherited from Thing
const HIDDEN = 0
 Property is hidden. More...
 
const READABLE = 1
 Property is readable. More...
 
const WRITEABLE = 2
 Property is writeable. More...
 
const READWRITE = 3
 Property is readable and writeable. More...
 

Protected Member Functions

 open ()
 
 save ()
 
 getFilename ()
 
- Protected Member Functions inherited from Container
 open ()
 
 save ()
 
 _get ($key)
 
 _set ($key, $value)
 
 getData ()
 
- Protected Member Functions inherited from Thing
 publish ($property, $visibility=self::READABLE)
 Publish a property (or hide it again). More...
 
 configure ($config)
 Configure the object. More...
 
 _get ($key)
 Default getter if no specific setter is defined, and the property is also not published (readable). More...
 
 _set ($key, $value)
 Default setter if no specific setter is defined, and the property is also not published (writeable). More...
 

Protected Attributes

 $_filename = null
 
- Protected Attributes inherited from Container
 $_storage = null
 
 $_key = null
 
 $_data = null
 
 $_changed = false
 
- Protected Attributes inherited from Thing
 $_published = []
 Published properties (key = name of property, value = visibility). More...
 

Additional Inherited Members

- Public Member Functions inherited from Container
 __construct ($storage, $options, $key)
 
 __destruct ()
 
 read ($key, $default=null)
 
 write ($key, $value)
 
 remove ($key)
 
 clear ()
 
 commit ()
 
 rollback ()
 
- Public Member Functions inherited from Thing
 propertyExists ($property)
 Check if a property exists (public or published). More...
 
 constants ($prefix=null)
 Return all constants. More...
 
 get ($key)
 Get one or more properties. More...
 
 set ($key, $value=null)
 Set one or more properties. More...
 
 __get ($key)
 
 __set ($key, $value)
 

Detailed Description

Definition at line 5 of file File.php.

Member Function Documentation

◆ getFilename()

getFilename ( )
protected

Definition at line 22 of file File.php.

◆ open()

open ( )
protected

Definition at line 13 of file File.php.

◆ save()

save ( )
protected

Definition at line 17 of file File.php.

Field Documentation

◆ $_filename

$_filename = null
protected

Definition at line 11 of file File.php.

◆ $ext

$ext = '.dat'

Definition at line 8 of file File.php.

◆ $mode

$mode = 0666

Definition at line 9 of file File.php.

◆ $path

$path = null

Definition at line 7 of file File.php.


The documentation for this class was generated from the following file: