adoSchema::_tag_open PHP Method

_tag_open() public method

XML Callback to process start elements
public _tag_open ( &$parser, $tag, $attributes )
    function _tag_open(&$parser, $tag, $attributes)
    {
        switch (strtoupper($tag)) {
            case 'TABLE':
                $this->obj = new dbTable($this, $attributes);
                xml_set_object($parser, $this->obj);
                break;
            case 'SQL':
                if (!isset($attributes['PLATFORM']) or $this->supportedPlatform($attributes['PLATFORM'])) {
                    $this->obj = new dbQuerySet($this, $attributes);
                    xml_set_object($parser, $this->obj);
                }
                break;
            default:
                // print_r( array( $tag, $attributes ) );
        }
    }