« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 68 for DOMElement (0.001 sec.)
DOMElement クラス | PHP 8.3 12013
DOMElement クラス (PHP 5, PHP 7, PHP 8) クラス概要 class DOMElement extends DOMNode implements DOMParentNode , DOMChildNode { /* 継承した定数 */ public const int DOMNode::DOCUMENT_POSITION_DISCONNECTED = 0x1 ; public const int DOMNode::DOCU ... ng $ tagName ; public string $ className ; public string $ id ; public readonly mixed $ schemaTypeInfo ; public readonly ? DOMElement $ firstElementChild ; public readonly ? DOMElement $ lastElementChild ; public readonly int $ childElementCount ; public r ... eadonly ? DOMElement $ previousElementSibling ; public readonly ? DOMElement $ nextElementSibling ; /* 継承したプロパティ */ public readonly st ... public ? string $ nodeValue ; public readonly int $ nodeType ; public readonly ? DOMNode $ parentNode ; public readonly ? DOMElement $ parentElement ; public readonly DOMNodeList $ childNodes ; public readonly ? DOMNode $ firstChild ; public readonly ? DO ...
https://man.mtool.work/php/8.3/class.domelement.html
Document Object Model | PHP 8.3 10594
Document Object Model はじめに DOM 拡張モジュールを使用すると、DOM API を使用した XML や HTML ドキュメントの操作を PHP で行えます。 注意 : DOM拡張モジュール は UTF-8 エンコーディングを使います。他のエンコーディングを扱う場合は、 mb_convert_ ... の前にノードを追加する DOMDocumentFragment::replaceChildren — 文書片の子を置換する DOMDocumentType — DOMDocumentType クラス DOMElement — DOMElement クラス DOMElement::after — 要素の後ろにノードを追加する DOMElement::append — 最後のノードの後ろにノードを追加 ... する DOMElement::before — 要素の前にノードを追加する DOMElement::__construct — 新しい DOMElement オブジェクトを作成する DOMElement::getAtt ... ribute — 属性の値を返す DOMElement::getAttributeNames — 属性の名前を取得する DOMElement::getAttributeNode — 属性ノードを返す DOMElement::getAttributeNodeNS — ...
https://man.mtool.work/php/8.3/book.dom.html
DOMElement::hasAttribute — 属性が存在するかどうかを調べる | PHP 8.3 9318
DOMElement::hasAttribute (PHP 5, PHP 7, PHP 8) DOMElement::hasAttribute — 属性が存在するかどうかを調べる 説明 public function DOMElement::hasAttribute ( string $qualifiedName ): bool 要素のメンバとして qualifiedName という名前の属性が 存在す ... かどうかを示します。 パラメータ qualifiedName 要素名。 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 DOMElement::hasAttributeNS() - 属性が存在するかどうかを調べる DOMElement::getAttribute() - 属性の値を返す DOMElement::setAttribute() ... - 属性を新しく追加する、または変更する DOMElement::removeAttribute() - 属性を削除する 他のマニュアルの関連ページ Python xml.dom Python grp Linux JM putgrent(3) ...
https://man.mtool.work/php/8.3/domelement.hasattribute.html
DOMElement::hasAttributeNS — 属性が存在するかどうかを調べる | PHP 8.3 9318
DOMElement::hasAttributeNS (PHP 5, PHP 7, PHP 8) DOMElement::hasAttributeNS — 属性が存在するかどうかを調べる 説明 public function DOMElement::hasAttributeNS ( ? string $namespace , string $localName ): bool 要素のメンバとして localName とい ... メータ namespace 名前空間 URI。 localName ローカル名。 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 DOMElement::hasAttribute() - 属性が存在するかどうかを調べる DOMElement::getAttributeNS() - 属性の値を返す DOMElement::setAttributeNS( ... ) - 新しい属性を追加する DOMElement::removeAttributeNS() - 属性を削除する 他のマニュアルの関連ページ Python executionmodel ...
https://man.mtool.work/php/8.3/domelement.hasattributens.html
DOMElement::insertAdjacentElement — 隣接する要素を挿入する | PHP 8.3 9105
DOMElement::insertAdjacentElement (PHP 8 >= 8.3.0) DOMElement::insertAdjacentElement — 隣接する要素を挿入する 説明 public function DOMElement::insertAdjacentElement ( string $where , DOMElement $element ): ? DOMElement where で指定された相対 ... す beforeend - 目的の要素の最後の子要素として挿入します afterend - 目的の要素の直後に挿入します element 挿入する要素 戻り値 DOMElement を返します。 失敗した場合は null を返します。 例 例1 DOMElement::insertAdjacentElement() の例 <?php $dom = new DOMDocument ... cho $dom -> saveXML (); ?> 上の例の出力は以下となります。 <?xml version="1.0"?> <container><A/><p>foo</p></container> 参考 DOMElement::insertAdjacentText() - 隣接するテキストを挿入する 他のマニュアルの関連ページ Linux JM swab(3) Docker docker container Doc ...
https://man.mtool.work/php/8.3/domelement.insertadjacentelement.html
DOMElement::remove — 要素を削除する | PHP 8.3 8892
DOMElement::remove (PHP 8) DOMElement::remove — 要素を削除する 説明 public function DOMElement::remove (): void 要素を削除します。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 DOMElement::remove() の例 要素 ... (); echo $doc -> saveXML (); ?> 上の例の出力は以下となります。 <?xml version="1.0"?> <container><world/></container> 参考 DOMElement::after() - 要素の後ろにノードを追加する DOMElement::before() - 要素の前にノードを追加する DOMElement::replaceWith() - 要素 ...
https://man.mtool.work/php/8.3/domelement.remove.html
DOMElement::getAttribute — 属性の値を返す | PHP 8.3 8750
DOMElement::getAttribute (PHP 5, PHP 7, PHP 8) DOMElement::getAttribute — 属性の値を返す 説明 public function DOMElement::getAttribute ( string $qualifiedName ): string 現在のノードから、名前が qualifiedName である属性の値を取得します。 パラ ... 属性の名前。 戻り値 属性の値、あるいは qualifiedName に対応する属性が 見つからなかった場合には空の文字列を返します。 参考 DOMElement::hasAttribute() - 属性が存在するかどうかを調べる DOMElement::setAttribute() - 属性を新しく追加する、または変更する DOMElem ...
https://man.mtool.work/php/8.3/domelement.getattribute.html
DOMElement::getAttributeNS — 属性の値を返す | PHP 8.3 8708
DOMElement::getAttributeNS (PHP 5, PHP 7, PHP 8) DOMElement::getAttributeNS — 属性の値を返す 説明 public function DOMElement::getAttributeNS ( ? string $namespace , string $localName ): string 現在のノードから、名前空間 namespace における l ... 戻り値 属性の値、あるいは localName および namespace に対応する属性が 見つからなかった場合には空の文字列を返します。 参考 DOMElement::hasAttributeNS() - 属性が存在するかどうかを調べる DOMElement::setAttributeNS() - 新しい属性を追加する DOMElement::removeA ...
https://man.mtool.work/php/8.3/domelement.getattributens.html
DOMElement::__construct — 新しい DOMElement オブジェクトを作成する | PHP 8.3 8665
DOMElement::__construct (PHP 5, PHP 7, PHP 8) DOMElement::__construct — 新しい DOMElement オブジェクトを作成する 説明 public function DOMElement::__construct ( string $qualifiedName , ? string $value = null , string $namespace = "" ) 新しい ... DOMElement オブジェクトを作成します。 このオブジェクトは読み込み専用です。このオブジェクトをドキュメントに 追加することが可能ですが、 ... ィックスが与えられます。 value 要素の値。 namespace 指定した名前空間の中で要素を作成するための 名前空間 URI。 例 例1 新しい DOMElement を作成する <?php $dom = new DOMDocument ( '1.0' , 'iso-8859-1' ); $element = $dom -> appendChild (new DOMElement ( 'root' ... )); $element_ns = new DOMElement ( 'pr:node1' , 'thisvalue' , 'http://xyz' ); $element -> appendChild ( $element_ns ); echo $dom -> saveXML (); /* <?xml ve ...
https://man.mtool.work/php/8.3/domelement.construct.html
DOMElement::getAttributeNode — 属性ノードを返す | PHP 8.3 8665
DOMElement::getAttributeNode (PHP 5, PHP 7, PHP 8) DOMElement::getAttributeNode — 属性ノードを返す 説明 public function DOMElement::getAttributeNode ( string $qualifiedName ): DOMAttr | DOMNameSpaceNode | false 現在の要素の、 qualifiedName ... mlns や xmlns:* 属性) については、 DOMAttr オブジェクトではなく、 DOMNameSpaceNode が返されることに注意してください。 参考 DOMElement::hasAttribute() - 属性が存在するかどうかを調べる DOMElement::setAttributeNode() - 新しい属性ノードを要素に追加する DOMElem ...
https://man.mtool.work/php/8.3/domelement.getattributenode.html
PREV 1 2 3 4 5 6 7 NEXT