PHP Class Hookr_Singleton, hookr-plugin

显示文件 Open project: explodybits/hookr-plugin Class Usage Examples

Protected Properties

Property Type Description
$_instances

Protected Methods

Method Description
__clone ( )
__construct ( )
get_instance ( string $class = __CLASS__ ) : string Returns the singleton instance.

Method Details

__clone() protected method

protected __clone ( )

__construct() protected method

protected __construct ( )

get_instance() protected static method

Returns the singleton instance.
protected static get_instance ( string $class = __CLASS__ ) : string
$class string
return string

Property Details

$_instances protected_oe static_oe property

protected static $_instances