« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 11 for registerPhpFunctions (0.003 sec.)
DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数として登録する | PHP 8.... 13478
DOMXPath::registerPhpFunctions (PHP 5 >= 5.3.0, PHP 7, PHP 8) DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数として登録する 説明 public function DOMXPath::registerPhpFunctions ( string | array | null $restrict = null ): void このメ ... r>Jenny Smythe</author> </book> <book> <title>XML basics</title> <author>Joe Black</author> </book> </books> 例2 DOMXPath::registerPHPFunctions() と php:functionString の例 <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book-simple.xml' ); $xpath = new DOMX ... 録します (必須) $xpath -> registerNamespace ( "php" , "http://php.net/xpath" ); // PHP の関数を登録します (無制限) $xpath -> registerPhpFunctions (); // substr 関数を book の title に適用します $nodes = $xpath -> query ( '//book[php:functionString("substr", title, 0, ... 以下のようになります。 Found 2 books starting with 'PHP': PHP Basics by Jim Smith PHP Secrets by Jenny Smythe 例3 DOMXPath::registerPHPFunctions() と php:function の例 <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book-simple.xml' ); $xpath = new DOMXPath ( ...
https://man.mtool.work/php/8.3/domxpath.registerphpfunctions.html
XSLTProcessor::registerPHPFunctions — PHP 関数を XSLT 関数として利用できるよう... 11113
XSLTProcessor::registerPHPFunctions (PHP 5 >= 5.0.4, PHP 7, PHP 8) XSLTProcessor::registerPHPFunctions — PHP 関数を XSLT 関数として利用できるようにする 説明 public function XSLTProcessor::registerPHPFunctions ( array | string | null $functi ... doc -> loadXML ( $xml ); $xsldoc = new DOMDocument (); $xsldoc -> loadXML ( $xsl ); $proc = new XSLTProcessor (); $proc -> registerPHPFunctions (); $proc -> importStyleSheet ( $xsldoc ); echo $proc -> transformToXML ( $xmldoc ); ?> 参考 DOMXPath::registerPhpFunction ...
https://man.mtool.work/php/8.3/xsltprocessor.registerphpfunctions.html
DOMXPath クラス | PHP 8.3 9050
DOMXPath クラス (PHP 5, PHP 7, PHP 8) はじめに HTML や XML 文書に対して、 XPath 1.0 のクエリを使うことを許可します。 クラス概要 class DOMXPath { /* プロパティ */ public readonly DOMDocument $ document ; public bool $ registerNodeNamespaces ... l public function registerPhpFunctionNS ( string $namespaceURI , string $name , callable $callable ): void public function registerPhpFunctions ( string | array | null $restrict = null ): void } プロパティ document このオブジェクトにリンクした文書 registerNodeNamesp ... ェクトの名前空間を登録する DOMXPath::registerPhpFunctionNS — PHP の関数を、名前空間付きの XPath 関数として登録する DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数として登録する 他のマニュアルの関連ページ Linux JM find(1) ...
https://man.mtool.work/php/8.3/class.domxpath.html
XSLTProcessor クラス | PHP 8.3 8962
XSLTProcessor クラス (PHP 5, PHP 7, PHP 8) はじめに クラス概要 class XSLTProcessor { /* プロパティ */ public bool $ doXInclude = false ; public bool $ cloneDocument = false ; public int $ maxTemplateDepth ; public int $ maxTemplateVars ; /* ... l public function registerPHPFunctionNS ( string $namespaceURI , string $name , callable $callable ): void public function registerPHPFunctions ( array | string | null $functions = null ): void public function removeParameter ( string $namespace , string $name ): bo ... シートを取り込む XSLTProcessor::registerPHPFunctionNS — PHP の関数を、名前空間付きの XSLT 関数として登録する XSLTProcessor::registerPHPFunctions — PHP 関数を XSLT 関数として利用できるようにする XSLTProcessor::removeParameter — パラメータを削除する XSLTProcessor::setP ...
https://man.mtool.work/php/8.3/class.xsltprocessor.html
XSLTProcessor::registerPHPFunctionNS — PHP の関数を、名前空間付きの XSLT 関数と... 8748
XSLTProcessor::registerPHPFunctionNS (PHP >= 8.4.0) XSLTProcessor::registerPHPFunctionNS — PHP の関数を、名前空間付きの XSLT 関数として登録する 説明 public function XSLTProcessor::registerPHPFunctionNS ( string $namespaceURI , string $name ... L ( $xmldoc ); ?> 参考 DOMXPath::registerPhpFunctionNS() - PHP の関数を、名前空間付きの XPath 関数として登録する DOMXPath::registerPhpFunctions() - PHP の関数を XPath 関数として登録する XSLTProcessor::registerPhpFunctions() - PHP 関数を XSLT 関数として利用できるよう ...
https://man.mtool.work/php/8.3/xsltprocessor.registerphpfunctionns.html
XSL | PHP 8.3 8268
XSL はじめに XSL 拡張モジュールは、XSL の標準規格を実装したもので、 » libxslt ライブラリ を用いて » XSLT 変換 を行います。 インストール/設定 要件 インストール手順 定義済み定数 例 collection.xml および collection.xsl ファイルの例 libxml のエ ... シートを取り込む XSLTProcessor::registerPHPFunctionNS — PHP の関数を、名前空間付きの XSLT 関数として登録する XSLTProcessor::registerPHPFunctions — PHP 関数を XSLT 関数として利用できるようにする XSLTProcessor::removeParameter — パラメータを削除する XSLTProcessor::setP ...
https://man.mtool.work/php/8.3/book.xsl.html
DOMXPath::registerPhpFunctionNS — PHP の関数を、名前空間付きの XPath 関数として... 7966
DOMXPath::registerPhpFunctionNS (PHP >= 8.4.0) DOMXPath::registerPhpFunctionNS — PHP の関数を、名前空間付きの XPath 関数として登録する 説明 public function DOMXPath::registerPhpFunctionNS ( string $namespaceURI , string $name , callable $ca ... - 与えられた XPath 式を評価する DOMXPath::evaluate() - 与えられた XPath 式を評価し、可能であれば結果を返す XSLTProcessor::registerPHPFunctions() - PHP 関数を XSLT 関数として利用できるようにする XSLTProcessor::registerPHPFunctionNS() - PHP の関数を、名前空間付きの X ...
https://man.mtool.work/php/8.3/domxpath.registerphpfunctionns.html
新機能 | PHP 8.3 7877
新機能 PHP コア プロパティフック オブジェクトのプロパティは、 get および set 操作に 追加のロジックを関連付けることができるようになりました。 使用方法に応じてそのプロパティは、値を持つ場合もありますし、 仮想的、つまり値を持たない場合もありま ... ENT_POSITION_CONTAINS DOMNode::DOCUMENT_POSITION_CONTAINED_BY DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC DOMXPath::registerPhpFunctions() に任意の callable を渡すことが可能になりました。 さらに、 DOMXPath::registerPhpFunctionNs() により、 php:function('name' ... のみ利用可能です。 XSL シングルクオートとダブルクオートの両方を含むパラメータを 使用できるようになりました。 XSLTProcessor::registerPhpFunctions() に 任意の callable を渡すことが可能になりました。 XSLTProcessor::$maxTemplateDepth および XSLTProcessor::$maxTemplateVar ...
https://man.mtool.work/php/8.3/migration84.new-features.html
Document Object Model | PHP 8.3 7486
Document Object Model はじめに DOM 拡張モジュールを使用すると、DOM API を使用した XML や HTML ドキュメントの操作を PHP で行えます。 注意 : DOM拡張モジュール は UTF-8 エンコーディングを使います。他のエンコーディングを扱う場合は、 mb_convert_ ... ェクトの名前空間を登録する DOMXPath::registerPhpFunctionNS — PHP の関数を、名前空間付きの XPath 関数として登録する DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数として登録する Dom\AdjacentPosition — Dom\AdjacentPosition Enum Dom\Attr — Dom\Attr クラス Dom\At ...
https://man.mtool.work/php/8.3/book.dom.html
変更履歴 | PHP 8.3 7486
変更履歴 標準添付の拡張モジュールには次のような変更がありました。 Version Function Description 8.6.0 ini_get_all 各ディレクティブについて返される詳細情報の配列に、 builtin_default_value 要素が追加されました。 snmp3_get Net-SNMP ライブラリが ... 型が、true になりました。 DOMImplementation::createDocument この関数の仮の戻り値の型が、DOMDocument になりました。 DOMXPath::registerPhpFunctions restrict を 配列 にする際、 コールバックとして callable を使用できるようになりました。 コールバック名が正しくない場合、 Va ... t stylesheet が XML オブジェクトでない場合、 ValueError の代わりに TypeError をスローするようになりました。 XSLTProcessor::registerPHPFunctions コールバック名が正しくない場合、 ValueError がスローされるようになりました。 callable でない値を指定した場合、 TypeError が ... スローされるようになりました。 XSLTProcessor::registerPHPFunctions functions を 配列 にする際、 コールバックとして callable を使用できるようになりました。 XSLTProcessor::setParameter 引数の ...
https://man.mtool.work/php/8.3/doc.changelog.html
PREV 1 2 NEXT