Results of 1 - 10 of about 136 for people (0.002 sec.)
- コレクションをテーブルオブジェクトとして取得する 10161
- « Schema::getCollection Schema::getCollections » PHP Manual mysql_xdevapi\Schema コレクションをテーブルオブジェクトとして取得する 検索 Schema::getCollectionAsTable (No version information available, might only be in Git) Schema::getCollecti
... addressbook" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $collect = $schema -> createCollection ( "people" ); $collect -> add ( '{"name": "Fred", "age": 21, "job": "Construction"}' )-> execute (); $collect -> add ( '{"name": "Wi ... lma", "age": 23, "job": "Teacher"}' )-> execute (); $table = $schema -> getCollectionAsTable ( "people" ); $collection = $schema -> getCollection ( "people" ); var_dump ( $table ); var_dump ( $collection ); 上の例の出力は、 た ... とえば以下のようになります。 object(mysql_xdevapi\Table)#4 (1) { ["name"]=> string(6) "people" } object(mysql_xdevapi\Collection)#5 (1) { ["name"]=> string(6) "people" } 関連キーワード: mysql xdevapi コレクション オブ ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollectionastable.html
- コレクションをテーブルオブジェクトとして取得する 10065
- « Schema::getCollection Schema::getCollections » PHP Manual mysql_xdevapi\Schema コレクションをテーブルオブジェクトとして取得する 検索 Schema::getCollectionAsTable (No version information available, might only be in Git) Schema::getCollecti
... addressbook" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $collect = $schema -> createCollection ( "people" ); $collect -> add ( '{"name": "Fred", "age": 21, "job": "Construction"}' )-> execute (); $collect -> add ( '{"name": "Wi ... lma", "age": 23, "job": "Teacher"}' )-> execute (); $table = $schema -> getCollectionAsTable ( "people" ); $collection = $schema -> getCollection ( "people" ); var_dump ( $table ); var_dump ( $collection ); 上の例の出力は、 た ... とえば以下のようになります。 object(mysql_xdevapi\Table)#4 (1) { ["name"]=> string(6) "people" } object(mysql_xdevapi\Collection)#5 (1) { ["name"]=> string(6) "people" } 関連キーワード: mysql xdevapi コレクション Sch ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollectionastable.html
- ドキュメントで宣言されている名前空間を返す 8347
- « SimpleXMLElement::current SimpleXMLElement::getName » PHP Manual SimpleXMLElement ドキュメントで宣言されている名前空間を返す 検索 SimpleXMLElement::getDocNamespaces (PHP 5 >= 5.1.2, PHP 7, PHP 8) SimpleXMLElement::getDocNamespaces — ドキュ
... れた URI を配列で返します。 例 例1 ドキュメントの名前空間の取得 <?php $xml = <<<XML <?xml version="1.0" standalone="yes"?> <people xmlns:p="http://example.org/ns"> <p:person id="1">John Doe</p:person> <p:person id="2">Susie Q. Public</p:person> </people ... tring(21) "http://example.org/ns" } 例2 複数の名前空間での動作 <?php $xml = <<<XML <?xml version="1.0" standalone="yes"?> <people xmlns:p="http://example.org/ns" xmlns:t="http://example.org/test"> <p:person t:id="1">John Doe</p:person> <p:person t:id=" ... 2" a:addr="123 Street" xmlns:a="http://example.org/addr"> Susie Q. Public </p:person> </people> XML; $sxe = new SimpleXMLElement ( $xml ); $namespaces = $sxe -> getDocNamespaces ( TRUE ); var_dump ( $namespaces ); ?> ...
-
https://man.mtool.work/php/8.3/simplexmlelement.getdocnamespaces.html
- スキーマに属する全てのコレクションを取得する 8251
- « Schema::getCollectionAsTable Schema::getName » PHP Manual mysql_xdevapi\Schema スキーマに属する全てのコレクションを取得する 検索 Schema::getCollections (No version information available, might only be in Git) Schema::getCollections — スキ
... addressbook" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $collect = $schema -> createCollection ( "people" ); $collect -> add ( '{"name": "Fred", "age": 21, "job": "Construction"}' )-> execute (); $collect -> add ( '{"name": "Wi ... = $schema -> getCollections (); var_dump ( $collections ); ?> 上の例の出力は、 たとえば以下のようになります。 array(1) { ["people"]=> object(mysql_xdevapi\Collection)#4 (1) { ["name"]=> string(6) "people" } } 関連キーワード: コレクション Schema スキーマ ... mysql xdevapi getCollections 全て session execute addressbook schema collect people name array パラメータ sql add age job ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollections.html
- ドキュメントで宣言されている名前空間を返す 8251
- « SimpleXMLElement::current SimpleXMLElement::getName » PHP Manual SimpleXMLElement ドキュメントで宣言されている名前空間を返す 検索 SimpleXMLElement::getDocNamespaces (PHP 5 >= 5.1.2, PHP 7, PHP 8) SimpleXMLElement::getDocNamespaces — ドキュ
... れた URI を配列で返します。 例 例1 ドキュメントの名前空間の取得 <?php $xml = <<<XML <?xml version="1.0" standalone="yes"?> <people xmlns:p="http://example.org/ns"> <p:person id="1">John Doe</p:person> <p:person id="2">Susie Q. Public</p:person> </people ... tring(21) "http://example.org/ns" } 例2 複数の名前空間での動作 <?php $xml = <<<XML <?xml version="1.0" standalone="yes"?> <people xmlns:p="http://example.org/ns" xmlns:t="http://example.org/test"> <p:person t:id="1">John Doe</p:person> <p:person t:id=" ... 2" a:addr="123 Street" xmlns:a="http://example.org/addr"> Susie Q. Public </p:person> </people> XML; $sxe = new SimpleXMLElement ( $xml ); $namespaces = $sxe -> getDocNamespaces ( TRUE ); var_dump ( $namespaces ); ?> ...
-
https://man.mtool.work/php/8.3/simplexmlelement.getdocnamespaces.html
- スキーマに属する全てのコレクションを取得する 8143
- « Schema::getCollectionAsTable Schema::getName » PHP Manual mysql_xdevapi\Schema スキーマに属する全てのコレクションを取得する 検索 Schema::getCollections (No version information available, might only be in Git) Schema::getCollections — スキ
... addressbook" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $collect = $schema -> createCollection ( "people" ); $collect -> add ( '{"name": "Fred", "age": 21, "job": "Construction"}' )-> execute (); $collect -> add ( '{"name": "Wi ... = $schema -> getCollections (); var_dump ( $collections ); ?> 上の例の出力は、 たとえば以下のようになります。 array(1) { ["people"]=> object(mysql_xdevapi\Collection)#4 (1) { ["name"]=> string(6) "people" } } 関連キーワード: コレクション Schema スキーマ ... mysql xdevapi getCollections session execute addressbook schema collect people collections getCollectionAsTable getName information available 個々 キー getSession mysqlx user password localhost getSche ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-schema.getcollections.html
- ユーザー定義の比較関数を使用して、配列を値でソートする 7939
- « uksort クラス/オブジェクト » PHP Manual 配列 関数 ユーザー定義の比較関数を使用して、配列を値でソートする 検索 usort (PHP 4, PHP 5, PHP 7, PHP 8) usort — ユーザー定義の比較関数を使用して、配列を値でソートする 説明 function usort ( array &$
... c 例5 usort() と宇宙船演算子 宇宙船演算子は、 複数の軸をまたがった複合的な値を明快に比較する用途に使えます。 以下の例は、 $people を last name で比較し、 それが一致するものについては first name で比較します。 <?php $people [ 0 ] = [ 'first' => 'Adam' , ... 'last' => 'West' ]; $people [ 1 ] = [ 'first' => 'Alec' , 'last' => 'Baldwin' ]; $people [ 2 ] = [ 'first' => 'Adam' , 'last' => 'Baldwin' ]; function ... sorter (array $a , array $b ) { return [ $a [ 'last' ], $a [ 'first' ]] <=> [ $b [ 'last' ], $b [ 'first' ]]; } usort ( $people , 'sorter' ); foreach ( $people as $person ) { print $person [ 'last' ] . ', ' . $person [ 'first' ] . PHP_EOL ; } ?> 上の ...
-
https://man.mtool.work/php/8.3/function.usort.html
- ユーザー定義の比較関数を使用して、配列を値でソートする 7939
- « uksort クラス/オブジェクト » PHP Manual 配列 関数 ユーザー定義の比較関数を使用して、配列を値でソートする 検索 usort (PHP 4, PHP 5, PHP 7, PHP 8) usort — ユーザー定義の比較関数を使用して、配列を値でソートする 説明 function usort ( array &$
... c 例5 usort() と宇宙船演算子 宇宙船演算子は、 複数の軸をまたがった複合的な値を明快に比較する用途に使えます。 以下の例は、 $people を last name で比較し、 それが一致するものについては first name で比較します。 <?php $people [ 0 ] = [ 'first' => 'Adam' , ... 'last' => 'West' ]; $people [ 1 ] = [ 'first' => 'Alec' , 'last' => 'Baldwin' ]; $people [ 2 ] = [ 'first' => 'Adam' , 'last' => 'Baldwin' ]; function ... sorter (array $a , array $b ) { return [ $a [ 'last' ], $a [ 'first' ]] <=> [ $b [ 'last' ], $b [ 'first' ]]; } usort ( $people , 'sorter' ); foreach ( $people as $person ) { print $person [ 'last' ] . ', ' . $person [ 'first' ] . PHP_EOL ; } ?> 上の ...
-
https://man.mtool.work/php/8.3/function.usort.html
- for 7735
- « do-while foreach » PHP Manual 制御構造 for 検索 for (PHP 4, PHP 5, PHP 7, PHP 8) for ループは、PHPで最も複雑なループです。 for は、Cのforループと同様に動作します。 for ループの構文は、次のようになります。 for (式1; 式2; 式3) 文 最初の式(
... とえば、繰り返しの回数があらかじめわかっている場合は、 式2 で関数をコールするのではなく変数を使うほうがよいでしょう。 <?php $people = [ 'Kalle' , 'Pierre' ]; // 悪い例: 繰り返しのたびに関数をコールしている for( $i = 0 ; $i < getIterationCount ( $people ) ... ; ++ $i ) { $people [ $i ] .= ' is cool' ; } // よい例: 繰り返しの回数を変数に格納している for( $i = 0 , $peopleCount = getIterationCount ( $p ... eople ); $i < $peopleCount ; ++ $i ) { $people [ $i ] .= ' is cool' ; } 上の例の最初のループでは、関数が常に同じ値を返すにもかかわらず、 繰り返し ...
-
https://man.mtool.work/php/8.3/control-structures.for.html
- コレクションの名前を得る 7735
- « Collection::find Collection::getOne » PHP Manual mysql_xdevapi\Collection コレクションの名前を得る 検索 Collection::getName (No version information available, might only be in Git) Collection::getName — コレクションの名前を得る 説明 publi
... dressbook" )-> execute (); $schema = $session -> getSchema ( "addressbook" ); $collection = $schema -> createCollection ( "people" ); // ... var_dump ( $collection -> getName ()); ?> 上の例の出力は、 たとえば以下のようになります。 string(6) "people" 関 ... ーワード: Collection コレクション getName mysql xdevapi session addressbook string パラメータ sql execute schema collection people find Search getOne information available Git ...
-
https://man.mtool.work/php/8.3/mysql-xdevapi-collection.getname.html