Results of 1 - 10 of about 20 for basics (0.002 sec.)
- id に対応する要素を検索する 12660
- « DOMDocument::createTextNode DOMDocument::getElementsByTagName » PHP Manual DOMDocument id に対応する要素を検索する 検索 DOMDocument::getElementById (PHP 5, PHP 7, PHP 8) DOMDocument::getElementById — id に対応する要素を検索する 説明 publi
... e="text/xsl" href="style.xsl"?> <books xmlns="http://books.php/" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <book id="php-basics"> <title>PHP Basics</title> <author email="jim.smith@basics.php">Jim Smith</author> <author email="jane.smith@basics.php"> ... Jane Smith</author> <xhtml:blurb><![CDATA[ <p><em>PHP Basics</em> provides an introduction to PHP.</p> ]]></xhtml:blurb> </book> <book id="php-advanced"> <title>PHP Advanced Programmi ... ドキュメントを検証する必要があります $doc -> validateOnParse = true ; $doc -> load ( 'examples/book.xml' ); echo "ID が 'php-basics' の要素は " . $doc -> getElementById ( 'php-basics' )-> tagName . " です。\n" ; ?> 上の例の出力は以下となります。 ID が 'p ...
-
https://man.mtool.work/php/8.3/domdocument.getelementbyid.html
- id に対応する要素を検索する 11895
- « DOMDocument::createTextNode DOMDocument::getElementsByTagName » PHP Manual DOMDocument id に対応する要素を検索する 検索 DOMDocument::getElementById (PHP 5, PHP 7, PHP 8) DOMDocument::getElementById — id に対応する要素を検索する 説明 publi
... e="text/xsl" href="style.xsl"?> <books xmlns="http://books.php/" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <book id="php-basics"> <title>PHP Basics</title> <author email="jim.smith@basics.php">Jim Smith</author> <author email="jane.smith@basics.php"> ... Jane Smith</author> <xhtml:blurb><![CDATA[ <p><em>PHP Basics</em> provides an introduction to PHP.</p> ]]></xhtml:blurb> </book> <book id="php-advanced"> <title>PHP Advanced Programmi ... ドキュメントを検証する必要があります $doc -> validateOnParse = true ; $doc -> load ( 'examples/book.xml' ); echo "ID が 'php-basics' の要素は " . $doc -> getElementById ( 'php-basics' )-> tagName . " です。\n" ; ?> 上の例の出力は以下となります。 ID が 'p ...
-
https://man.mtool.work/php/8.3/domdocument.getelementbyid.html
- 次の要素に移動する 10281
- « SimpleXMLElement::key SimpleXMLElement::registerXPathNamespace » PHP Manual SimpleXMLElement 次の要素に移動する 検索 SimpleXMLElement::next (PHP 8) SimpleXMLElement::next — 次の要素に移動する 説明 public function SimpleXMLElement::next ()
... はありません。 戻り値 値を返しません。 例 例1 次の要素への移動 <?php $xmlElement = new SimpleXMLElement ( '<books><book>PHP Basics</book><book>XML basics</book></books>' ); $xmlElement -> rewind (); // 最初の要素に巻き戻します $xmlElement -> next (); va ... ump ( $xmlElement -> current ()); ?> 上の例の出力は以下となります。 object(SimpleXMLElement)#2 (1) { [0]=> string(10) "XML basics" } 関連キーワード: SimpleXMLElement next xmlElement book books basics registerXPathNamespace サブクラス SimpleXMLIterator ... 宣言 Basics rewind 最初 dump current ...
-
https://man.mtool.work/php/8.3/simplexmlelement.next.html
- 現在の要素の子要素を返す 9703
- « SimpleXMLElement::getNamespaces SimpleXMLElement::hasChildren » PHP Manual SimpleXMLElement 現在の要素の子要素を返す 検索 SimpleXMLElement::getChildren (PHP 8) SimpleXMLElement::getChildren — 現在の要素の子要素を返す 説明 public function
... 含む SimpleXMLElement オブジェクトを返します。 例 例1 現在の要素の子要素を返す <?php $xml = <<<XML <books> <book> <title>PHP Basics</title> <author>Jim Smith</author> </book> <book>XML basics</book> </books> XML; $xmlElement = new SimpleXMLElement ( $xml ... $name is ' $data ' from the class " . get_class ( $data ) . "\n" ; } } ?> 上の例の出力は以下となります。 The title is 'PHP Basics' from the class SimpleXMLElement The author is 'Jim Smith' from the class SimpleXMLElement 関連キーワード: SimpleXMLElemen ... t getChildren xmlElement book title author books Basics Smith getNamespaces hasChildren サブクラス SimpleXMLIterator 宣言 basics rewind valid next foreach ...
-
https://man.mtool.work/php/8.3/simplexmlelement.getchildren.html
- 現在の要素が子要素を持つかどうかを調べる 9618
- « SimpleXMLElement::getChildren SimpleXMLElement::key » PHP Manual SimpleXMLElement 現在の要素が子要素を持つかどうかを調べる 検索 SimpleXMLElement::hasChildren (PHP 8) SimpleXMLElement::hasChildren — 現在の要素が子要素を持つかどうかを調べる
... 外の場合に false を返します。 例 例1 現在の要素が子要素を持つかどうかを調べる <?php $xml = <<<XML <books> <book> <title>PHP Basics</title> <author>Jim Smith</author> </book> <book>XML basics</book> </books> XML; $xmlElement = new SimpleXMLElement ( $xml ... Element -> current ()); } } ?> 上の例の出力は以下となります。 object(SimpleXMLElement)#2 (2) { ["title"]=> string(10) "PHP Basics" ["author"]=> string(9) "Jim Smith" } 関連キーワード: SimpleXMLElement xmlElement hasChildren book title author books Basi ... cs Smith getChildren サブクラス SimpleXMLIterator 宣言 basics rewind valid next dump current ...
-
https://man.mtool.work/php/8.3/simplexmliterator.haschildren.html
- 次の要素に移動する 9040
- « SimpleXMLElement::key SimpleXMLElement::registerXPathNamespace » PHP Manual SimpleXMLElement 次の要素に移動する 検索 SimpleXMLElement::next (PHP 8) SimpleXMLElement::next — 次の要素に移動する 説明 public function SimpleXMLElement::next ()
... はありません。 戻り値 値を返しません。 例 例1 次の要素への移動 <?php $xmlElement = new SimpleXMLElement ( '<books><book>PHP Basics</book><book>XML basics</book></books>' ); $xmlElement -> rewind (); // 最初の要素に巻き戻します $xmlElement -> next (); va ... ump ( $xmlElement -> current ()); ?> 上の例の出力は以下となります。 object(SimpleXMLElement)#2 (1) { [0]=> string(10) "XML basics" } 関連キーワード: SimpleXMLElement 要素 移動 next xmlElement book パラメータ books basics key Search registerXPathNamespa ...
-
https://man.mtool.work/php/8.3/simplexmlelement.next.html
- 現在の要素の子要素を返す 8564
- « SimpleXMLElement::getNamespaces SimpleXMLElement::hasChildren » PHP Manual SimpleXMLElement 現在の要素の子要素を返す 検索 SimpleXMLElement::getChildren (PHP 8) SimpleXMLElement::getChildren — 現在の要素の子要素を返す 説明 public function
... 含む SimpleXMLElement オブジェクトを返します。 例 例1 現在の要素の子要素を返す <?php $xml = <<<XML <books> <book> <title>PHP Basics</title> <author>Jim Smith</author> </book> <book>XML basics</book> </books> XML; $xmlElement = new SimpleXMLElement ( $xml ... $name is ' $data ' from the class " . get_class ( $data ) . "\n" ; } } ?> 上の例の出力は以下となります。 The title is 'PHP Basics' from the class SimpleXMLElement The author is 'Jim Smith' from the class SimpleXMLElement 関連キーワード: SimpleXMLElemen ... t 要素 現在 getChildren xmlElement book class title author data オブジェクト パラメータ xml books Basics Jim Smith name getNamespaces Search ...
-
https://man.mtool.work/php/8.3/simplexmlelement.getchildren.html
- 現在の要素が子要素を持つかどうかを調べる 8564
- « SimpleXMLElement::getChildren SimpleXMLElement::key » PHP Manual SimpleXMLElement 現在の要素が子要素を持つかどうかを調べる 検索 SimpleXMLElement::hasChildren (PHP 8) SimpleXMLElement::hasChildren — 現在の要素が子要素を持つかどうかを調べる
... 外の場合に false を返します。 例 例1 現在の要素が子要素を持つかどうかを調べる <?php $xml = <<<XML <books> <book> <title>PHP Basics</title> <author>Jim Smith</author> </book> <book>XML basics</book> </books> XML; $xmlElement = new SimpleXMLElement ( $xml ... Element -> current ()); } } ?> 上の例の出力は以下となります。 object(SimpleXMLElement)#2 (2) { ["title"]=> string(10) "PHP Basics" ["author"]=> string(9) "Jim Smith" } 関連キーワード: 要素 SimpleXMLElement 現在 xmlElement hasChildren book title author ... パラメータ 場合 xml books Basics Jim Smith string getChildren Search key function ...
-
https://man.mtool.work/php/8.3/simplexmliterator.haschildren.html
- 最初の要素に巻き戻す 8462
- « SimpleXMLElement::registerXPathNamespace SimpleXMLElement::saveXML » PHP Manual SimpleXMLElement 最初の要素に巻き戻す 検索 SimpleXMLElement::rewind (PHP 8) SimpleXMLElement::rewind — 最初の要素に巻き戻す 説明 public function SimpleXMLElem
... りません。 戻り値 値を返しません。 例 例1 最初の要素に巻き戻す <?php $xmlElement = new SimpleXMLElement ( '<books><book>PHP Basics</book><book>XML Basics</book></books>' ); $xmlElement -> rewind (); var_dump ( $xmlElement -> current ()); ?> 上の例の出力 ... は以下となります。 object(SimpleXMLElement)#2 (1) { [0]=> string(10) "PHP Basics" } 関連キーワード: SimpleXMLElement 最初 要素 rewind book メソッド xmlElement Basics string イテレータ パラメータ books re ...
-
https://man.mtool.work/php/8.3/simplexmlelement.rewind.html
- 最初の要素に巻き戻す 8462
- « SimpleXMLElement::registerXPathNamespace SimpleXMLElement::saveXML » PHP Manual SimpleXMLElement 最初の要素に巻き戻す 検索 SimpleXMLElement::rewind (PHP 8) SimpleXMLElement::rewind — 最初の要素に巻き戻す 説明 public function SimpleXMLElem
... りません。 戻り値 値を返しません。 例 例1 最初の要素に巻き戻す <?php $xmlElement = new SimpleXMLElement ( '<books><book>PHP Basics</book><book>XML Basics</book></books>' ); $xmlElement -> rewind (); var_dump ( $xmlElement -> current ()); ?> 上の例の出力 ... は以下となります。 object(SimpleXMLElement)#2 (1) { [0]=> string(10) "PHP Basics" } 関連キーワード: SimpleXMLElement 最初 rewind book xmlElement Basics イテレータ books registerXPathNamespace saveXML サブ ...
-
https://man.mtool.work/php/8.3/simplexmlelement.rewind.html