![]() |
FRED™
3.0
FRED™: Framework for Rapid and Easy Development
|
Public Member Functions | |
| __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) | |
Protected Member Functions | |
| 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 | |
| $_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 | |
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... | |
Definition at line 5 of file Container.php.
| __construct | ( | $storage, | |
| $options, | |||
| $key | |||
| ) |
Definition at line 13 of file Container.php.
| __destruct | ( | ) |
Definition at line 19 of file Container.php.
|
protected |
Definition at line 60 of file Container.php.
|
protected |
Definition at line 64 of file Container.php.
| clear | ( | ) |
Definition at line 45 of file Container.php.
| commit | ( | ) |
Definition at line 50 of file Container.php.
|
protected |
Definition at line 68 of file Container.php.
|
abstractprotected |
| read | ( | $key, | |
$default = null |
|||
| ) |
Definition at line 27 of file Container.php.
| remove | ( | $key | ) |
Definition at line 38 of file Container.php.
| rollback | ( | ) |
Definition at line 55 of file Container.php.
|
abstractprotected |
| write | ( | $key, | |
| $value | |||
| ) |
Definition at line 31 of file Container.php.
|
protected |
Definition at line 11 of file Container.php.
|
protected |
Definition at line 10 of file Container.php.
|
protected |
Definition at line 8 of file Container.php.
|
protected |
Definition at line 7 of file Container.php.