Takes the inside of an HTML tag and makes an assoc array of attributes.
public parseAttributeString ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array | ||
$string | string | Inside of tag excluding name. |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context | |
리턴 | array | Assoc array of attributes. |
function invokeAttr($input) { $lexer = new HTMLPurifier_Lexer_DirectLex(); $lexer->parseAttributeString($input, $this->config, $this->context); }