dbTable::_tag_close PHP 메소드

_tag_close() 공개 메소드

XML Callback to process end elements
public _tag_close ( &$parser, $tag )
    function _tag_close(&$parser, $tag)
    {
        $this->currentElement = '';
        switch (strtoupper($tag)) {
            case 'TABLE':
                $this->parent->addSQL($this->create($this->parent));
                xml_set_object($parser, $this->parent);
                $this->destroy();
                break;
            case 'FIELD':
                unset($this->current_field);
                break;
        }
    }