Exemple #1
0
/**
 * Registers the native types for unserialization. Called when Unserializer.php is
 * included (and expects it to already be included)
 * @access private
 * @return void
 * @package JPSpan
 * @subpackage Types
 */
function JPSpan_Register_Unserialization_Types()
{
    JPSpan_Unserializer::addType('JPSpan_Object');
    JPSpan_Unserializer::addType('JPSpan_Error');
}