Php/docs/xmlreader.movetoattributeno

提供:Dev Guides
< Php
移動先:案内検索

XMLReader::moveToAttributeNo

(PHP 5 >= 5.1.0, PHP 7)

XMLReader::moveToAttributeNo指定したインデックスの属性にカーソルを移動する


説明

public XMLReader::moveToAttributeNo ( int $index ) : bool

指定した位置の属性にカーソルを移動します。


パラメータ

index
属性の位置。


返り値

成功した場合に true を、失敗した場合に false を返します。


参考