Fat-Free Framework
3.1.0 API Reference
|
Magic Class Reference
PHP magic wrapper. More...
Inheritance diagram for Magic:
Public Member Functions | |
exists ($key) | |
set ($key, $val) | |
get ($key) | |
clear ($key) | |
offsetexists ($key) | |
__isset ($key) | |
offsetset ($key, $val) | |
__set ($key, $val) | |
offsetget ($key) | |
__get ($key) | |
offsetunset ($key) | |
__unset ($key) | |
Detailed Description
PHP magic wrapper.
Member Function Documentation
Magic::__get | ( | $key) |
Alias for offsetget()
- Returns
- mixed
- Parameters
-
$key string
Magic::__isset | ( | $key) |
Alias for offsetexists()
- Returns
- mixed
- Parameters
-
$key string
Magic::__set | ( | $key, | |
$val | |||
) |
Alias for offsetset()
- Returns
- mixed
- Parameters
-
$key string $val scalar
Magic::__unset | ( | $key) |
Alias for offsetunset()
- Returns
- NULL
- Parameters
-
$key string
|
abstract |
Unset key
- Returns
- NULL
- Parameters
-
$key string
|
abstract |
Return TRUE if key is not empty
- Returns
- bool
- Parameters
-
$key string
|
abstract |
Retrieve contents of key
- Returns
- mixed
- Parameters
-
$key string
Magic::offsetexists | ( | $key) |
Convenience method for checking property value
- Returns
- mixed
- Parameters
-
$key string
Magic::offsetget | ( | $key) |
Convenience method for retrieving property value
- Returns
- mixed
- Parameters
-
$key string
Magic::offsetset | ( | $key, | |
$val | |||
) |
Convenience method for assigning property value
- Returns
- mixed
- Parameters
-
$key string $val scalar
Magic::offsetunset | ( | $key) |
Convenience method for checking property value
- Returns
- NULL
- Parameters
-
$key string
|
abstract |
Bind value to key
- Returns
- mixed
- Parameters
-
$key string $val mixed
The documentation for this class was generated from the following file:
- magic.php
Generated on Mon Aug 19 2013 21:27:49 for Fat-Free Framework by 1.8.4