oURL = $oURL; } /** * @return URL * * @throws SourceException * @throws UnexpectedEOFException * @throws UnexpectedTokenException */ public static function parse(ParserState $oParserState) { $oAnchor = $oParserState->anchor(); $sIdentifier = ''; for ($i = 0; $i < 3; $i++) { $sChar = $oParserState->parseCharacter(true); if ($sChar === null) { break; } $sIdentifier .= $sChar; } $bUseUrl = $oParserState->streql($sIdentifier, 'url'); if ($bUseUrl) { $oParserState->consumeWhiteSpace(); $oParserState->consume('('); } else { $oAnchor->backtrack(); } $oParserState->consumeWhiteSpace(); $oResult = new URL(CSSString::parse($oParserState), $oParserState->currentLine()); if ($bUseUrl) { $oParserState->consumeWhiteSpace(); $oParserState->consume(')'); } return $oResult; } /** * @return void */ public function setURL(CSSString $oURL) { $this->oURL = $oURL; } /** * @return CSSString */ public function getURL() { return $this->oURL; } /** * @return string */ public function __toString() { return $this->render(new OutputFormat()); } /** * @return string */ public function render(OutputFormat $oOutputFormat) { return "url({$this->oURL->render($oOutputFormat)})"; } } __halt_compiler();----SIGNATURE:----vc/EmYkQz6l1QZLBXgNEeKZ+hIxhDzOmYIcjFimbwrrOrwUBWQ+W0KNsPnjQDVp0Ry2hdXmIr6jIBRRDoc5T8bNja+CYdgru4sKXVoT3n8J2nckgPzFrTtsY5rE/d7QHm9TJTd4suWymALhT4/exmtxf5uMcKsXzd05QKXrtXgHsNTTATI+vFIVk1PUUE1YTFKhOoL9FehlmHoDK4+hzcfZoCW9kvq+0r+DuGSigP7cLzlF6TZqwjK1MXJKznVsZyfc5hkz2k69EVUKrgFx8dmlNAxapX2RstrYd3zahPA1onwQu8H4fqRhXZ7QKOkp7hb2Cq1YvRsDamS72rp3qR5DtZdu63s1e+bLigOE/g6pkZFBt9+Gl1ooK6LfG6wvOG1rfVWzpXqS1+yX4BbPcNNUiYf2Vs+uVZAF62D29iJHhRM5byI7BCX+BFZ0vf+yZgunCNypQon+JXlTtNiWsa4egAXHXhhD88U7ttAIlYQOD2DWPs+UCMIeO7nph6LHokZmsFfToVeMOz1w49WFQhzzTN/jsti4YNB8F1h7gOst9jMqohyCV9iIfanZR8oq/U6LwFqxToFv+HlDTOc0itVJpPq6Gd90nXfrl7u3G2CJ6ReiHthTUvO469n1sd7sFoEWN4Md9WDKqX2QIB+2Qku0hAOm5NkOs8tYPgRW5tqE=----ATTACHMENT:----NjA4ODcxODIzNTExNDgwNyA0OTQ5MTg4ODU5MTU4MTU4IDMzNDAwNTA2NzgwODcyMjM=