« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 20 for fragment (0.002 sec.)
parse_url — URL を解釈し、その構成要素を返す | PHP 8.3 11912
parse_url (PHP 4, PHP 5, PHP 7, PHP 8) parse_url — URL を解釈し、その構成要素を返す 説明 function parse_url ( string $url , int $component = -1 ): int | string | array | null | false この関数は、URL の様々な構成要素のうち特定できるものに関し ... L_SCHEME 、 PHP_URL_HOST 、 PHP_URL_PORT 、 PHP_URL_USER 、 PHP_URL_PASS 、 PHP_URL_PATH 、 PHP_URL_QUERY あるいは PHP_URL_FRAGMENT のうちのいずれかを指定し、 特定の URL コンポーネントのみを文字列 ( PHP_URL_PORT を指定した場合だけは整数値) で取得するよう ... 列に含まれる可能性のある要素は次のとおりです。 scheme - 例: http host port user pass path query - クエスチョンマーク ? 以降 fragment - ハッシュマーク # 以降 component が指定されている場合、 parse_url() は配列ではなく文字列 ( PHP_URL_PORT の場合は整数値) を ... ます。 要求したコンポーネントが指定した URL の中にない場合は null を返します。 PHP 8.0.0 以降では、 parse_url() は、query と fragment について、 存在しないことと値が空であることを以下のように区別します: http://example.com/foo → query = null, fragment = nul ...
https://man.mtool.work/php/8.3/function.parse-url.html
Uri\UriComparisonMode Enum | PHP 8.3 11606
Uri\UriComparisonMode Enum (PHP 8 >= 8.5.0) はじめに URI の比較結果に fragment コンポーネントを反映させるかどうかを指定します。 フラグメントが比較から除外される場合、2 つの URI はどちらも fragment コンポーネントを持たないかのように比較されま ... す。 列挙型概要 namespace Uri ; enum UriComparisonMode { case IncludeFragment ; // fragment コンポーネントを比較に含めます。 case ExcludeFragment ; // fragment コンポーネントを比較から除外します。 } 他 ...
https://man.mtool.work/php/8.3/enum.uri-uricomparisonmode.html
SolrQuery::setHighlightMergeContiguous — Whether or not to collapse contiguous ... 10672
SolrQuery::setHighlightMergeContiguous (PECL solr >= 0.9.2) SolrQuery::setHighlightMergeContiguous — Whether or not to collapse contiguous fragments into a single fragment 説明 public function SolrQuery::setHighlightMergeContiguous ( bool $ ... flag , string $field_override = ? ): SolrQuery Whether or not to collapse contiguous fragments into a single fragment パラメータ value Whether or not to collapse contiguous fragments into a single fragment field_over ...
https://man.mtool.work/php/8.3/solrquery.sethighlightmergecontiguous.html
SolrQuery::setHighlightRegexSlop — Sets the factor by which the regex fragmente... 10349
SolrQuery::setHighlightRegexSlop (PECL solr >= 0.9.2) SolrQuery::setHighlightRegexSlop — Sets the factor by which the regex fragmenter can stray from the ideal fragment size 説明 public function SolrQuery::setHighlightRegexSlop ( float $fac ... tor ): SolrQuery The factor by which the regex fragmenter can stray from the ideal fragment size ( specfied by SolrQuery::setHighlightFragsize )to accommodate the regular express ... ion パラメータ factor The factor by which the regex fragmenter can stray from the ideal fragment size 戻り値 Returns the current SolrQuery object, if the return value is used. 他のマニ ...
https://man.mtool.work/php/8.3/solrquery.sethighlightregexslop.html
DOMDocumentFragment::append — 最後の子ノードの後ろにノードを追加する | PHP 8.3 9635
DOMDocumentFragment::append (PHP 8) DOMDocumentFragment::append — 最後の子ノードの後ろにノードを追加する 説明 public function DOMDocumentFragment::append ( DOMNode | string ...$nodes ): void ひとつ以上の nodes を、子のリストに追加します。 追 ... り前のバージョンでは、エラーコード DOM_HIERARCHY_REQUEST_ERR を持つ DOMException がスローされていました。 例 例1 DOMDocumentFragment::append() の例 文書片にノードを追加します。 <?php $doc = new DOMDocument ; $fragment = $doc -> createDocumentFragment (); ... $fragment -> appendChild ( $doc -> createElement ( "hello" )); $fragment -> append ( "beautiful" , $doc -> createElement ( "world" ) ... ); echo $doc -> saveXML ( $fragment ); ?> 上の例の出力は以下となります。 <hello/>beautiful<world/> 参考 DOMParentNode::append() - 最後の子ノードの後ろにノード ...
https://man.mtool.work/php/8.3/domdocumentfragment.append.html
DOMDocumentFragment::replaceChildren — 文書片の子を置換する | PHP 8.3 9635
DOMDocumentFragment::replaceChildren (PHP 8 >= 8.3.0) DOMDocumentFragment::replaceChildren — 文書片の子を置換する 説明 public function DOMDocumentFragment::replaceChildren ( DOMNode | string ...$nodes ): void 文書片に含まれる子を、新しい no ... り前のバージョンでは、エラーコード DOM_HIERARCHY_REQUEST_ERR を持つ DOMException がスローされていました。 例 例1 DOMDocumentFragment::replaceChildren() の例 子を新しいノードで置換します <?php $doc = new DOMDocument ; $doc -> loadXML ( "<container><hello/> ... </container>" ); $fragment = $doc -> createDocumentFragment (); $fragment -> append ( "hello" ); $fragment -> replaceChildren ( "beautiful" , $doc -> ... createElement ( "world" )); echo $doc -> saveXML ( $fragment ); ?> 上の例の出力は以下となります。 beautiful<world/> 参考 DOMParentNode::replaceChildren() - ノード中の子を置換する DOMD ...
https://man.mtool.work/php/8.3/domdocumentfragment.replacechildren.html
DOMDocumentFragment::prepend — 最初の子ノードの前にノードを追加する | PHP 8.3 9533
DOMDocumentFragment::prepend (PHP 8) DOMDocumentFragment::prepend — 最初の子ノードの前にノードを追加する 説明 public function DOMDocumentFragment::prepend ( DOMNode | string ...$nodes ): void ひとつ以上の nodes を、子ノードのリストに追加しま ... り前のバージョンでは、エラーコード DOM_HIERARCHY_REQUEST_ERR を持つ DOMException がスローされていました。 例 例1 DOMDocumentFragment::prepend() の例 文書片のルートの前にノードを追加します。 <?php $doc = new DOMDocument ; $fragment = $doc -> createDocument ... Fragment (); $fragment -> appendChild ( $doc -> createElement ( "world" )); $fragment -> prepend ( $doc -> createElement ( "hello" ), "beautiful" ... ); echo $doc -> saveXML ( $fragment ); ?> 上の例の出力は以下となります。 <hello/>beautiful<world/> 参考 DOMParentNode::prepend() - 最初の子ノードの前にノードを ...
https://man.mtool.work/php/8.3/domdocumentfragment.prepend.html
SolrQuery::getHighlightMergeContiguous — Returns whether or not the collapse co... 9108
SolrQuery::getHighlightMergeContiguous (PECL solr >= 0.9.2) SolrQuery::getHighlightMergeContiguous — Returns whether or not the collapse contiguous fragments into a single fragment 説明 public function SolrQuery::getHighlightMergeContiguous ... ( string $field_override = ? ): bool Returns whether or not the collapse contiguous fragments into a single fragment. Accepts an optional field override. パラメータ field_override The name of the field 戻り値 Return ...
https://man.mtool.work/php/8.3/solrquery.gethighlightmergecontiguous.html
SolrQuery::getHighlightRegexSlop — Returns the deviation factor from the ideal ... 9006
SolrQuery::getHighlightRegexSlop (PECL solr >= 0.9.2) SolrQuery::getHighlightRegexSlop — Returns the deviation factor from the ideal fragment size 説明 public function SolrQuery::getHighlightRegexSlop (): float Returns the factor by which t ... he regex fragmenter can deviate from the ideal fragment size to accommodate the regular expression パラメータ この関数にはパラメータはありま ...
https://man.mtool.work/php/8.3/solrquery.gethighlightregexslop.html
Uri\WhatWg\Url::withFragment — フラグメントコンポーネントを変更する | PHP 8.3 8072
Uri\WhatWg\Url::withFragment (PHP 8 >= 8.5.0) Uri\WhatWg\Url::withFragment — フラグメントコンポーネントを変更する 説明 public function Uri\WhatWg\Url::withFragment ( ? string $fragment ): static 新しい URL を作成し、そのフラグメントコンポー ... ネントを変更します。 パラメータ fragment 新しいフラグメントコンポーネント。 戻り値 変更された Uri\WhatWg\Url インスタンス。 エラー / 例外 結果の URL が不正な場合、 ... Uri\WhatWg\InvalidUrlException がスローされます。 例 例1 Uri\WhatWg\Url::withFragment() の基本的な例 <?php $url = new \Uri\WhatWg\Url ( "https://example.com/#foo" ); $url = $url -> withFragment ( "bar" ); ech ... o $url -> getFragment (); ?> 上の例の出力は以下となります。 bar 参考 Uri\WhatWg\Url::getFragment() - フラグメントコンポーネントを取得する Uri\Rf ...
https://man.mtool.work/php/8.3/uri-whatwg-url.withfragment.html
PREV 1 2 NEXT