IXR_Message::tag_open()publicWP 1.0

Method of the class: IXR_Message{}

No Hooks.

Return

null. Nothing (null).

Usage

$IXR_Message = new IXR_Message();
$IXR_Message->tag_open( $parser, $tag, $attr );
$parser (required)
-
$tag (required)
-
$attr (required)
-

IXR_Message::tag_open() code WP 6.5.2

function tag_open($parser, $tag, $attr)
{
    $this->_currentTagContents = '';
    $this->_currentTag = $tag;
    switch($tag) {
        case 'methodCall':
        case 'methodResponse':
        case 'fault':
            $this->messageType = $tag;
            break;
            /* Deal with stacks of arrays and structs */
        case 'data':    // data is to all intents and puposes more interesting than array
            $this->_arraystructstypes[] = 'array';
            $this->_arraystructs[] = array();
            break;
        case 'struct':
            $this->_arraystructstypes[] = 'struct';
            $this->_arraystructs[] = array();
            break;
    }
}