Fat-Free Framework: Registry Class Reference

Fat-Free-Framework

Fat-Free Framework  3.1.0 API Reference

Container for singular object instances. More...

Static Public Member Functions

static exists ($key)
 
static set ($key, $obj)
 
static get ($key)
 
static clear ($key)
 

Detailed Description

Container for singular object instances.

Member Function Documentation

static Registry::clear (   $key)
static

Delete object from catalog

Returns
NULL
Parameters
$keystring
static Registry::exists (   $key)
static

Return TRUE if object exists in catalog

Returns
bool
Parameters
$keystring
static Registry::get (   $key)
static

Retrieve object from catalog

Returns
object
Parameters
$keystring
static Registry::set (   $key,
  $obj 
)
static

Add object to catalog

Returns
object
Parameters
$keystring
$objobject

The documentation for this class was generated from the following file:
  • base.php
Generated on Mon Aug 19 2013 21:27:51 for Fat-Free Framework by   doxygen 1.8.4