Results of 1 - 10 of about 128 for Position (0.278 sec.)
- SeekableIterator インターフェイス | PHP 8.3 11110
- SeekableIterator インターフェイス (PHP 5 >= 5.1.0, PHP 7, PHP 8) はじめに Seekable イテレータです。 インターフェイス概要 interface SeekableIterator extends Iterator { /* メソッド */ public function seek ( int $offset ): void /* 継承したメソ
... rator を作成して位置を移動し、無効な位置を扱います。 <?php class MySeekableIterator implements SeekableIterator { private $position ; private $array = array( "first element" , "second element" , "third element" , "fourth element" ); /* SeekableIterator イ ... ンターフェイスで必要なメソッド群 */ public function seek ( $position ) { if (!isset( $this -> array [ $position ])) { throw new OutOfBoundsException ( "invalid seek position ( $position )" ); ... } $this -> position = $position ; } /* Iterator インターフェイスで必要なメソッド群 */ public function rewind () { $this -> position = 0 ; } pu ...
-
https://man.mtool.work/php/8.3/class.seekableiterator.html
- ストリームラッパーとして登録するクラスの例 | PHP 8.3 9608
- ストリームラッパーとして登録するクラスの例 以下のサンプルは、var:// プロトコルハンドラを実装し、 指定した名前のグローバル変数の読み書きを fread() のような標準のファイルシステム関数でできるようにしています。 以下で実装した var:// プロトコルで
... " で $GLOBALS["foo"] への読み書きを行います。 例1 グローバル変数の読み書き用のストリーム <?php class VariableStream { var $position ; var $varname ; function stream_open ( $path , $mode , $options , & $opened_path ) { $url = parse_url ( $path ); $this -> ... varname = $url [ "host" ]; $this -> position = 0 ; return true ; } function stream_read ( $count ) { $ret = substr ( $GLOBALS [ $this -> varname ], $this -> position , ... $count ); $this -> position += strlen ( $ret ); return $ret ; } function stream_write ( $data ) { $left = substr ( $GLOBALS [ $this -> varname ], 0 , ...
-
https://man.mtool.work/php/8.3/stream.streamwrapper.example-1.html
- DOMNode クラス | PHP 8.3 9449
- DOMNode クラス (PHP 5, PHP 7, PHP 8) クラス概要 class DOMNode { /* 定数 */ public const int DOCUMENT_POSITION_DISCONNECTED = 0x1 ; public const int DOCUMENT_POSITION_PRECEDING = 0x2 ; public const int DOCUMENT_POSITION_FOLLOWING = 0x4 ; pub
... lic const int DOCUMENT_POSITION_CONTAINS = 0x8 ; public const int DOCUMENT_POSITION_CONTAINED_BY = 0x10 ; public const int DOCUMENT_POSITION_IMPLEMENTATIO ... xes = null ): int | false public function cloneNode ( bool $deep = false ): DOMNode | false public function compareDocumentPosition ( DOMNode $other ): int public function contains ( DOMNode | DOMNameSpaceNode | null $other ): bool public function getLin ... ld ): DOMNode | false public function __sleep (): array public function __wakeup (): void } 定義済み定数 DOMNode::DOCUMENT_POSITION_DISCONNECTED もう一方のノードと参照ノードが同じツリー内にない場合に設定されます。 DOMNode::DOCUMENT_POSITION_PRECEDING もう ...
-
https://man.mtool.work/php/8.3/class.domnode.html
- Dom\Node クラス | PHP 8.3 8875
- Dom\Node クラス (PHP 8 >= 8.4.0) はじめに このクラスは、 DOMNode と同等ですが、 モダンかつ仕様に準拠しています。 クラス概要 class Dom\Node { /* 定数 */ public const int DOCUMENT_POSITION_DISCONNECTED = 0x1 ; public const int DOCUMENT_POSITION
... ON_PRECEDING = 0x2 ; public const int DOCUMENT_POSITION_FOLLOWING = 0x4 ; public const int DOCUMENT_POSITION_CONTAINS = 0x8 ; public const int DOCUMENT_POSITION_CONTAINED_BY = 0x ... 10 ; public const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20 ; /* プロパティ */ public readonly int $ nodeType ; public readonly string $ nodeName ; pub ... ing $ nodeValue ; public ? string $ textContent ; /* メソッド */ /* Not documented yet */ } 定義済み定数 DOMNode::DOCUMENT_POSITION_DISCONNECTED もう一方のノードと参照ノードが同じツリー内にない場合に設定されます。 DOMNode::DOCUMENT_POSITION_PRECEDING もう ...
-
https://man.mtool.work/php/8.3/class.dom-node.html
- UI\Draw\Brush\Gradient::addStop — Stop Manipulation | PHP 8.3 8363
- UI\Draw\Brush\Gradient::addStop (UI 2.0.0) UI\Draw\Brush\Gradient::addStop — Stop Manipulation 説明 public function UI\Draw\Brush\Gradient::addStop ( float $position , UI\Draw\Color $color ): int public function UI\Draw\Brush\Gradient::addS
... top ( float $position , int $color ): int Shall add a stop of the given color at the given position パラメータ position The position for the new ...
-
https://man.mtool.work/php/8.3/ui-draw-brush-gradient.addstop.html
- Dom\EntityReference クラス | PHP 8.3 8094
- Dom\EntityReference クラス (PHP 8 >= 8.4.0) はじめに このクラスは、 DOMEntityReference と同等ですが、 モダンかつ仕様に準拠しています。 クラス概要 class Dom\EntityReference extends Dom\Node { /* 継承した定数 */ public const int Dom\Node::DOC
... UMENT_POSITION_DISCONNECTED = 0x1 ; public const int Dom\Node::DOCUMENT_POSITION_PRECEDING = 0x2 ; public const int Dom\Node::DOCUMENT_PO ... SITION_FOLLOWING = 0x4 ; public const int Dom\Node::DOCUMENT_POSITION_CONTAINS = 0x8 ; public const int Dom\Node::DOCUMENT_POSITION_CONTAINED_BY = 0x10 ; public const int Dom\Node::DOCUMENT_PO ...
-
https://man.mtool.work/php/8.3/class.dom-entityreference.html
- Dom\Notation クラス | PHP 8.3 7996
- Dom\Notation クラス (PHP 8 >= 8.4.0) クラス概要 class Dom\Notation extends Dom\Node { /* 継承した定数 */ public const int Dom\Node::DOCUMENT_POSITION_DISCONNECTED = 0x1 ; public const int Dom\Node::DOCUMENT_POSITION_PRECEDING = 0x2 ; public
... const int Dom\Node::DOCUMENT_POSITION_FOLLOWING = 0x4 ; public const int Dom\Node::DOCUMENT_POSITION_CONTAINS = 0x8 ; public const int Dom\Node::DOCUMENT_POSITI ... ON_CONTAINED_BY = 0x10 ; public const int Dom\Node::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20 ; /* プロパティ */ public readonly string $ publicId ; public readonly string $ systemId ; ...
-
https://man.mtool.work/php/8.3/class.dom-notation.html
- Ds\Map::skip — Returns the pair at a given positional index | PHP 8.3 7838
- Ds\Map::skip (PECL ds >= 1.0.0) Ds\Map::skip — Returns the pair at a given positional index 説明 public function Ds\Map::skip ( int $position ): Ds\Pair Returns the pair at a given zero-based position . パラメータ position The zero-based position
... sitional index to return. 戻り値 Returns the Ds\Pair at the given position . エラー / 例外 OutOfRangeException if the position is not valid. 例 例1 Ds\Map::skip() example <?php $map = new \Ds\Map ( ...
-
https://man.mtool.work/php/8.3/ds-map.skip.html
- cubrid_lob2_tell64 — Tell the cursor position of the LOB object | PHP 8.3 7740
- cubrid_lob2_tell64 (PECL CUBRID >= 8.4.1) cubrid_lob2_tell64 — Tell the cursor position of the LOB object 説明 function cubrid_lob2_tell64 ( resource $lob_identifier ): string The cubrid_lob2_tell64() function is used to tell the cursor position
... If the size of a lob object is larger than an integer data can be stored, you can use this function and it will return the position information as a string. パラメータ lob_identifier Lob identifier as a result of cubrid_lob2_new() or get from the result ... set. 戻り値 It will return the cursor position on the LOB object as a string when it processes successfully,失敗した場合に false を返します. 参考 cubrid_lob2_read() - Re ... ove the cursor of a lob object cubrid_lob2_seek64() - Move the cursor of a lob object cubrid_lob2_tell() - Tell the cursor position of the LOB object cubrid_lob2_size() - Get a lob object's size cubrid_lob2_size64() - Get a lob object's size 他のマニュア ...
-
https://man.mtool.work/php/8.3/function.cubrid-lob2-tell64.html
- Iterator インターフェイス | PHP 8.3 7581
- Iterator インターフェイス (PHP 5, PHP 7, PHP 8) はじめに 外部のイテレータあるいはオブジェクト自身から反復処理を行うためのインターフェイスです。 インターフェイス概要 interface Iterator extends Traversable { /* メソッド */ public function cur
... ach を使ったときに、どんな順番でメソッドが呼ばれるかを示すものです。 <?php class myIterator implements Iterator { private $position = 0 ; private $array = array( "firstelement" , "secondelement" , "lastelement" , ); public function __construct () { $this ... -> position = 0 ; } public function rewind (): void { var_dump ( __METHOD__ ); $this -> position = 0 ; } #[ \ReturnTypeWillChange ] pu ... blic function current () { var_dump ( __METHOD__ ); return $this -> array [ $this -> position ]; } #[ \ReturnTypeWillChange ] public function key () { var_dump ( __METHOD__ ); return $this -> position ; } public func ...
-
https://man.mtool.work/php/8.3/class.iterator.html