JAXLXmlStream::handle_character PHP Method

handle_character() protected method

protected handle_character ( $parser, $data )
    protected function handle_character($parser, $data)
    {
        //echo "depth ".$this->depth.", character ".$data." for stanza ".$this->stanza->name.PHP_EOL;
        if ($this->stanza) {
            $this->stanza->t(htmlentities($data, ENT_COMPAT, "UTF-8"), true);
        }
    }