SimpleHtmlSaxParser::__construct PHP Method

__construct() public method

Sets the listener.
public __construct ( SimplePhpPageBuilder $listener )
$listener SimplePhpPageBuilder SAX event handler.
    public function __construct($listener)
    {
        $this->listener = $listener;
        $this->lexer = $this->createLexer($this);
        $this->tag = '';
        $this->attributes = array();
        $this->current_attribute = '';
    }