Yaf_Registry (class)
The Yaf_Registry class
Introduction
(Yaf >=1.0.0)
All methods of Yaf_Registry declared as static, making it unversally accessible. This provides the ability to get or set any custom data from anyway in your code as necessary.
Class synopsis
Yaf_Registry {
/* Properties */
static $_instance ;
protected $_entries ;
/* Methods */
private void __clone ( void )
private __construct ( void )
public static void del ( string $name )
public static mixed get ( string $name )
public static bool has ( string $name )
public static bool set ( string $name , string $value )}
Properties
- _instance
- _entries
Table of Contents
- Yaf_Registry::__clone — The __clone purpose
- Yaf_Registry::__construct — Yaf_Registry implements singleton
- Yaf_Registry::del — Remove an item from registry
- Yaf_Registry::get — Retrieve an item from registry
- Yaf_Registry::has — Check whether an item exists
- Yaf_Registry::set — Add an item into registry
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/class.yaf-registry.php