<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.xmlreader.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'xmlreader.movetofirstattribute.php',
1 => 'XMLReader::moveToFirstAttribute',
2 => 'Position cursor on the first Attribute',
),
'up' =>
array (
0 => 'class.xmlreader.php',
1 => 'XMLReader',
),
'prev' =>
array (
0 => 'xmlreader.movetoelement.php',
1 => 'XMLReader::moveToElement',
),
'next' =>
array (
0 => 'xmlreader.movetonextattribute.php',
1 => 'XMLReader::moveToNextAttribute',
),
'alternatives' =>
array (
),
'source' =>
array (
'lang' => 'en',
'path' => 'reference/xmlreader/xmlreader/movetofirstattribute.xml',
),
'history' =>
array (
),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);
contributors($setup);
?>
<div id="xmlreader.movetofirstattribute" class="refentry">
<div class="refnamediv">
<h1 class="refname">XMLReader::moveToFirstAttribute</h1>
<p class="verinfo">(PHP 5 >= 5.1.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">XMLReader::moveToFirstAttribute</span> — <span class="dc-title">Position cursor on the first Attribute</span></p>
</div>
<div class="refsect1 description" id="refsect1-xmlreader.movetofirstattribute-description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="modifier">public</span> <span class="methodname"><strong>XMLReader::moveToFirstAttribute</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<p class="para rdfs-comment">
Moves cursor to the first Attribute.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-xmlreader.movetofirstattribute-parameters">
<h3 class="title">Parameters</h3>
<p class="para">This function has no parameters.</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-xmlreader.movetofirstattribute-returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> on success or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on failure.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-xmlreader.movetofirstattribute-seealso">
<h3 class="title">See Also</h3>
<p class="para">
<ul class="simplelist">
<li><span class="methodname"><a href="xmlreader.movetoelement.php" class="methodname" rel="rdfs-seeAlso">XMLReader::moveToElement()</a> - Position cursor on the parent Element of current Attribute</span></li>
<li><span class="methodname"><a href="xmlreader.movetoattribute.php" class="methodname" rel="rdfs-seeAlso">XMLReader::moveToAttribute()</a> - Move cursor to a named attribute</span></li>
<li><span class="methodname"><a href="xmlreader.movetoattributeno.php" class="methodname" rel="rdfs-seeAlso">XMLReader::moveToAttributeNo()</a> - Move cursor to an attribute by index</span></li>
<li><span class="methodname"><a href="xmlreader.movetoattributens.php" class="methodname" rel="rdfs-seeAlso">XMLReader::moveToAttributeNs()</a> - Move cursor to a named attribute</span></li>
<li><span class="methodname"><a href="xmlreader.movetonextattribute.php" class="methodname" rel="rdfs-seeAlso">XMLReader::moveToNextAttribute()</a> - Position cursor on the next Attribute</span></li>
</ul>
</p>
</div>
</div><?php manual_footer($setup); ?>