Class SimplePie_Registry
Handles creating objects and calling methods
Access this via SimplePie::get_registry()
Package: SimplePie
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Registry.php
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Registry.php
public
|
|
public
boolean
|
#
register( string $type, string $class, boolean $legacy = false )
Register a class Parameters
Returnsboolean Successfulness |
public
string|null
|
#
get_class( string $type )
Get the class registered for a type Where possible, use Parameters
Returnsstring|null |
public
object
&
|
|
public
mixed
&
|
protected
array
|
$default | array(
'Cache' => 'SimplePie_Cache',
'Locator' => 'SimplePie_Locator',
'Parser' => 'SimplePie_Parser',
'File' => 'SimplePie_File',
'Sanitize' => 'SimplePie_Sanitize',
'Item' => 'SimplePie_Item',
'Author' => 'SimplePie_Author',
'Category' => 'SimplePie_Category',
'Enclosure' => 'SimplePie_Enclosure',
'Caption' => 'SimplePie_Caption',
'Copyright' => 'SimplePie_Copyright',
'Credit' => 'SimplePie_Credit',
'Rating' => 'SimplePie_Rating',
'Restriction' => 'SimplePie_Restriction',
'Content_Type_Sniffer' => 'SimplePie_Content_Type_Sniffer',
'Source' => 'SimplePie_Source',
'Misc' => 'SimplePie_Misc',
'XML_Declaration_Parser' => 'SimplePie_XML_Declaration_Parser',
'Parse_Date' => 'SimplePie_Parse_Date',
) |
#
Default class mapping Overriding classes must subclass these. |
protected
array
|
$classes | array() |
|
protected
array
|
$legacy | array() |