Results of 1 - 10 of about 22 for important (0.001 sec.)
- Dom\TokenList::toggle — リスト中のトークンの存否を切り換える | PHP 8.3 12962
- Dom\TokenList::toggle (PHP 8 >= 8.4.0) Dom\TokenList::toggle — リスト中のトークンの存否を切り換える 説明 public function Dom\TokenList::toggle ( string $token , ? bool $force = null ): bool リスト中の token の存否を切り換えます。 パラメータ
... 替えます。 2つは force を指定せず、 1つは指定します <?php $dom = Dom\HTMLDocument :: createFromString ( '<p class="font-bold important"></p>' , LIBXML_NOERROR ); $p = $dom -> body -> firstChild ; $classList = $p -> classList ; $classList -> toggle ( 'font-b ... old' , 'font-small' ); $classList -> toggle ( 'important' , force : true ); echo $dom -> saveHtml ( $p ); ?> 上の例の出力は以下となります。 <p class="font-bold important"></p> 他の ...
-
https://man.mtool.work/php/8.3/dom-tokenlist.toggle.html
- Dom\TokenList::contains — 指定されたトークンがリストに含まれるかを返す | PHP 8.... 11312
- Dom\TokenList::contains (PHP 8 >= 8.4.0) Dom\TokenList::contains — 指定されたトークンがリストに含まれるかを返す 説明 public function Dom\TokenList::contains ( string $token ): bool token がリストに含まれるかを返します。 パラメータ token トー
... 例 2つのクラスが、パラグラフに含まれるかを調べます <?php $dom = Dom\HTMLDocument :: createFromString ( '<p class="font-bold important"></p>' , LIBXML_NOERROR ); $p = $dom -> body -> firstChild ; $classList = $p -> classList ; var_dump ( $classList -> conta ... ins ( 'important' ), $classList -> contains ( 'font-small' ), ); ?> 上の例の出力は以下となります。 bool(true) bool(false) 他のマニュアルの関 ...
-
https://man.mtool.work/php/8.3/dom-tokenlist.contains.html
- Dom\TokenList::add — 指定されたトークンをリストに追加する | PHP 8.3 10774
- Dom\TokenList::add (PHP 8 >= 8.4.0) Dom\TokenList::add — 指定されたトークンをリストに追加する 説明 public function Dom\TokenList::add ( string ...$tokens ): void 指定された tokens をリストに追加しますが、 既に存在しないものに限ります。 パラ
... t :: createEmpty (); $p = $dom -> createElement ( 'p' ); $classList = $p -> classList ; $classList -> add ( 'font-bold' , 'important' ); echo $dom -> saveHtml ( $p ); ?> 上の例の出力は以下となります。 <p class="font-bold important"></p> 他のマニュアルの関 ...
-
https://man.mtool.work/php/8.3/dom-tokenlist.add.html
- Dom\TokenList::remove — リストから、指定されたトークンを削除する | PHP 8.3 10774
- Dom\TokenList::remove (PHP 8 >= 8.4.0) Dom\TokenList::remove — リストから、指定されたトークンを削除する 説明 public function Dom\TokenList::remove ( string ...$tokens ): void リストから、指定された tokens を削除しますが、 存在しない場合は無
... move() の例 パラグラフからクラスを2つ削除します。 <?php $dom = Dom\HTMLDocument :: createFromString ( '<p class="font-bold important"></p>' , LIBXML_NOERROR ); $p = $dom -> body -> firstChild ; $p -> classList -> remove ( 'font-bold' , 'important' ); echo ...
-
https://man.mtool.work/php/8.3/dom-tokenlist.remove.html
- Dom\TokenList::replace — リスト中のトークンを別のものに置き換える | PHP 8.3 10504
- Dom\TokenList::replace (PHP 8 >= 8.4.0) Dom\TokenList::replace — リスト中のトークンを別のものに置き換える 説明 public function Dom\TokenList::replace ( string $token , string $newToken ): bool リスト中のトークンを別のものに置き換えます。 パ
... の例 パラグラフ中のトークンを別のものに置き換えます <?php $dom = Dom\HTMLDocument :: createFromString ( '<p class="font-bold important"></p>' , LIBXML_NOERROR ); $p = $dom -> body -> firstChild ; $p -> classList -> replace ( 'font-bold' , 'font-small' ); ec ... ho $dom -> saveHtml ( $p ); ?> 上の例の出力は以下となります。 <p class="font-small important"></p> 他のマニュアルの関連ページ Python token Linux JM wcstok(3) Linux JM strsep(3) Linux JM netrc(5) Linux JM strtok(3) L ...
-
https://man.mtool.work/php/8.3/dom-tokenlist.replace.html
- Ds\Hashable::equals — Determines whether an object is equal to the current inst... 8316
- Ds\Hashable::equals (PECL ds >= 1.0.0) Ds\Hashable::equals — Determines whether an object is equal to the current instance 説明 abstract public function Ds\Hashable::equals ( object $obj ): bool Determines whether another object is equal to
... r lookup structure that honors this interface. 注意 : It's guaranteed that obj is an instance of the same class. 警告 It's important that objects which are equal also have the same hash value. See Ds\Hashable::hash() . パラメータ obj The object to compare ...
-
https://man.mtool.work/php/8.3/ds-hashable.equals.html
- Imagick::getPixelIterator — MagickPixelIterator を返す | PHP 8.3 8316
- Imagick::getPixelIterator (PECL imagick 2, PECL imagick 3) Imagick::getPixelIterator — MagickPixelIterator を返す 説明 public function Imagick::getPixelIterator (): ImagickPixelIterator MagickPixelIterator を返します。 パラメータ この関数に
... a(0, 0, 0, 0)" ); /* Paint every second pixel black*/ } } $imageIterator -> syncIterator (); /* Sync the iterator, this is important to do on each iteration */ } header ( "Content-Type: image/jpg" ); echo $imagick ; } ?> ...
-
https://man.mtool.work/php/8.3/imagick.getpixeliterator.html
- 圧縮フィルタ | PHP 8.3 8030
- 圧縮フィルタ 圧縮ストリーム を用いれば ローカルファイルシステム上に gzip や bz2 と互換性のある圧縮ファイルを 作成することができます。しかし、これはネットワーク越しの圧縮機能を 持っておらず、また非圧縮ストリームを圧縮されたストリームに変換す
... ( 'level' => 6 , 'window' => 15 , 'memory' => 9 ); $original_text = "This is a test.\nThis is only a test.\nThis is not an important string.\n" ; echo "もとのテキストの長さは " . strlen ( $original_text ) . " 文字です。\n" ; $fp = fopen ( 'test.deflated' ... 文字です。 圧縮後のファイルの大きさは 56 バイトです。 もとのテキストは: This is a test. This is only a test. This is not an important string. */ ?> 例2 zlib.deflate のシンプルな例 <?php $original_text = "This is a test.\nThis is only a test.\nThis is not a ... n important string.\n" ; echo "もとのテキストの長さは " . strlen ( $original_text ) . " 文字です。\n" ; $fp = fopen ( 'test.deflated' ...
-
https://man.mtool.work/php/8.3/filters.compression.html
- ImagickPixelIterator::clear — PixelIterator に関連付けられたリソースを消去する ... 8030
- ImagickPixelIterator::clear (PECL imagick 2, PECL imagick 3) ImagickPixelIterator::clear — PixelIterator に関連付けられたリソースを消去する 説明 public function ImagickPixelIterator::clear (): bool 警告 この関数は、 現在のところ詳細な情報は
... n % 2 ) { /* Paint every second pixel black*/ $pixel -> setColor ( "rgba(0, 0, 0, 0)" ); } } /* Sync the iterator, this is important to do on each iteration */ $imageIterator -> syncIterator (); } $imageIterator -> clear (); header ( "Content-Type: image/ ...
-
https://man.mtool.work/php/8.3/imagickpixeliterator.clear.html
- ImagickPixelIterator::__construct — ImagickPixelIterator のコンストラクタ | PHP... 8030
- ImagickPixelIterator::__construct (PECL imagick 2, PECL imagick 3) ImagickPixelIterator::__construct — ImagickPixelIterator のコンストラクタ 説明 public function ImagickPixelIterator::__construct ( Imagick $wand ) 警告 この関数は、 現在のと
... n % 2 ) { /* Paint every second pixel black*/ $pixel -> setColor ( "rgba(0, 0, 0, 0)" ); } } /* Sync the iterator, this is important to do on each iteration */ $imageIterator -> syncIterator (); } header ( "Content-Type: image/jpg" ); echo $imagick ; } ?> ...
-
https://man.mtool.work/php/8.3/imagickpixeliterator.construct.html