Fat-Free Framework: Magic Class Reference

Fat-Free-Framework

Fat-Free Framework  3.1.0 API Reference

PHP magic wrapper. More...

Inheritance diagram for Magic:
DB\Cursor SMTP Web\OpenID DB\Jig\Mapper DB\Mongo\Mapper DB\SQL\Mapper DB\Jig\Session DB\Mongo\Session DB\SQL\Session

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
$keystring
Magic::__isset (   $key)

Alias for offsetexists()

Returns
mixed
Parameters
$keystring
Magic::__set (   $key,
  $val 
)

Alias for offsetset()

Returns
mixed
Parameters
$keystring
$valscalar
Magic::__unset (   $key)

Alias for offsetunset()

Returns
NULL
Parameters
$keystring
Magic::clear (   $key)
abstract

Unset key

Returns
NULL
Parameters
$keystring
Magic::exists (   $key)
abstract

Return TRUE if key is not empty

Returns
bool
Parameters
$keystring
Magic::get (   $key)
abstract

Retrieve contents of key

Returns
mixed
Parameters
$keystring
Magic::offsetexists (   $key)

Convenience method for checking property value

Returns
mixed
Parameters
$keystring
Magic::offsetget (   $key)

Convenience method for retrieving property value

Returns
mixed
Parameters
$keystring
Magic::offsetset (   $key,
  $val 
)

Convenience method for assigning property value

Returns
mixed
Parameters
$keystring
$valscalar
Magic::offsetunset (   $key)

Convenience method for checking property value

Returns
NULL
Parameters
$keystring
Magic::set (   $key,
  $val 
)
abstract

Bind value to key

Returns
mixed
Parameters
$keystring
$valmixed

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   doxygen 1.8.4