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Z*tfPOkc'?וj= ~P6^MbGyU&=@wT[FқpoYt nֻPv*+ڎ[ 0+kӏƝMg>tliZMm2/=/8Kxg${T@C'0ԌTwxsӹF<9ICM]r; ;.M>VYl@ cnrtxI Cnmi:xxW- )*?hQ:xxW- )STWL|h"PXAt\|eu ĢQ$3CiC%g♮/TPȣ[V?w. ((`v@^CZ<u8OO-6W*v ĢQ$3dNow^I~dΛx$$P,۲,)e} jStymrMNb8^%5o-Et9YUI ĢQ$3&pM{*e׺ E)FU>.Mߑ )Ro }a@6 ĢQ$3/TPȣ[y3؉ډ%Y< ĢQ$3G9KMG&;EVEl+pePue5#A+>66+eOyHJ}[td>憏uaٳeΏVΓvO"U&f1fs/>^Ox\ 6GX_s\ ĢQ$3*{@zHmiLWz)kטAs8v&1k7WR4@Lm Y\Tb^q/TPȣ[5b9& xFM:9=Y!ą:ΞsٔV$+2 [r֓5YN*'T34|`|muWi*Fp>2gO\5(\EDj H7U$p"^ 4AiD+MG&r™ۋ Y\Tb^q$this->errorGeneric($var, $type); } /** * Actually implements the parsing. Base implementation does not * do anything to $var. Subclasses should overload this! * @param mixed $var * @param int $type * @param bool $allow_null * @return string */ protected function parseImplementation($var, $type, $allow_null) { return $var; } /** * Throws an exception. * @throws HTMLPurifier_VarParserException */ protected function error($msg) { throw new HTMLPurifier_VarParserException($msg); } /** * Throws an inconsistency exception. * @note This should not ever be called. It would be called if we * extend the allowed values of HTMLPurifier_VarParser without * updating subclasses. * @param string $class * @param int $type * @throws HTMLPurifier_Exception */ protected function errorInconsistent($class, $type) { throw new HTMLPurifier_Exception( "Inconsistency in $class: " . HTMLPurifier_VarParser::getTypeName($type) . " not implemented" ); } /** * Generic error for if a type didn't work. * @param mixed $var * @param int $type */ protected function errorGeneric($var, $type) { $vtype = gettype($var); $this->error("Expected type " . HTMLPurifier_VarParser::getTypeName($type) . ", got $vtype"); } /** * @param int $type * @return string */ public static function getTypeName($type) { static $lookup; if (!$lookup) { // Lazy load the alternative lookup table $lookup = array_flip(HTMLPurifier_VarParser::$types); } if (!isset($lookup[$type])) { return 'unknown'; } return $lookup[$type]; } } // vim: et sw=4 sts=4