IXR_Message::tag_open() public WP 1.0
{} Это метод класса: IXR_Message{}
Хуков нет.
Возвращает
null
. Null. Ничего.
Использование
$IXR_Message = new IXR_Message(); $IXR_Message->tag_open( $parser, $tag, $attr );
- $parser (обязательный)
- -
- $tag (обязательный)
- -
- $attr (обязательный)
- -
Код IXR_Message::tag_open() IXR Message::tag open WP 5.7
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;
}
}