« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for smarty (0.001 sec.)
Yaf_Dispatcher::setView — カスタムビューエンジンを設定する | PHP 8.3 13522
Yaf_Dispatcher::setView (Yaf >=1.0.0) Yaf_Dispatcher::setView — カスタムビューエンジンを設定する 説明 public function Yaf_Dispatcher::setView ( Yaf_View_Interface $view ): Yaf_Dispatcher このメソッドは、 Yaf_View_Simple ではなくカスタムビュ ... ます。 パラメータ view Yaf_View_Interface のインスタンス。 戻り値 例 例1 カスタムビューエンジンの例 <?php require "/path/to/smarty/Smarty.class.php" ; class Smarty_Adapter implements Yaf_View_Interface { /** * Smarty オブジェクト * @var Smarty */ public ... $_smarty ; /** * コンストラクタ * * @param string $tmplPath * @param array $extraParams * @return void */ public function __constru ... ct ( $tmplPath = null , $extraParams = array()) { $this -> _smarty = new Smarty ; if ( null !== $tmplPath ) { $this -> setScriptPath ( $tmplPath ); } foreach ( $extraParams as $key => $valu ...
https://man.mtool.work/php/8.3/yaf-dispatcher.setview.html
db2_fetch_array — 結果セット内の行を表す、カラム位置をインデックスとする配列を... 8506
db2_fetch_array (PECL ibm_db2 >= 1.0.1) db2_fetch_array — 結果セット内の行を表す、カラム位置をインデックスとする配列を返す 説明 function db2_fetch_array ( resource $stmt , int $row_number = -1 ): array | false 結果セット内の行を表す、カラム ... [ 0 ], $row [ 1 ], $row [ 2 ], $row [ 3 ]); } ?> 上の例の出力は以下となります。 0 Pook cat 3.20 5 Rickety Ride goat 9.70 2 Smarty horse 350.00 例2 スクロール可能なカーソルから、指定した行を db2_fetch_array() で取得する スクロール可能なカーソルを使用して ... 1 ], $row [ 2 ], $row [ 3 ]); $i = $i + 2 ; } ?> 上の例の出力は以下となります。 0 Pook cat 3.20 5 Rickety Ride goat 9.70 2 Smarty horse 350.00 参考 db2_fetch_assoc() - 結果セット内の行を表す、カラム名をインデックスとする配列を返す db2_fetch_both() - 結 ...
https://man.mtool.work/php/8.3/function.db2-fetch-array.html
db2_fetch_assoc — 結果セット内の行を表す、カラム名をインデックスとする配列を返... 8506
db2_fetch_assoc (PECL ibm_db2 >= 1.0.0) db2_fetch_assoc — 結果セット内の行を表す、カラム名をインデックスとする配列を返す 説明 function db2_fetch_assoc ( resource $stmt , int $row_number = -1 ): array | false 結果セット内の行を表す、カラム名 ... E' ], $row [ 'BREED' ], $row [ 'WEIGHT' ]); } ?> 上の例の出力は以下となります。 0 Pook cat 3.20 5 Rickety Ride goat 9.70 2 Smarty horse 350.00 例2 スクロール可能なカーソルから、指定した行を db2_fetch_assoc() で取得する スクロール可能なカーソルを使用して ... BREED' ], $row [ 'WEIGHT' ]); $i = $i + 2 ; } ?> 上の例の出力は以下となります。 0 Pook cat 3.20 5 Rickety Ride goat 9.70 2 Smarty horse 350.00 参考 db2_fetch_array() - 結果セット内の行を表す、カラム位置をインデックスとする配列を返す db2_fetch_both() - ...
https://man.mtool.work/php/8.3/function.db2-fetch-assoc.html
db2_fetch_both — 結果セット内の行を表す、 カラム位置およびカラム名の両方をイン... 8469
db2_fetch_both (PECL ibm_db2 >= 1.0.0) db2_fetch_both — 結果セット内の行を表す、 カラム位置およびカラム名の両方をインデックスとする配列を返す 説明 function db2_fetch_both ( resource $stmt , int $row_number = -1 ): array | false 結果セット内 ... $row [ 0 ], $row [ 'BREED' ], $row [ 3 ]); } ?> 上の例の出力は以下となります。 0 Pook cat 3.20 5 Rickety Ride goat 9.70 2 Smarty horse 350.00 例2 スクロール可能なカーソルから、指定した行を db2_fetch_both() で取得する スクロール可能なカーソルを使用して ... ow [ 2 ], $row [ 'WEIGHT' ]); $i = $i + 2 ; } ?> 上の例の出力は以下となります。 0 Pook cat 3.20 5 Rickety Ride goat 9.70 2 Smarty horse 350.00 参考 db2_fetch_array() - 結果セット内の行を表す、カラム位置をインデックスとする配列を返す db2_fetch_assoc() - ...
https://man.mtool.work/php/8.3/function.db2-fetch-both.html
db2_next_result — ストアドプロシージャから、次の結果セットを要求する | PHP 8.3 8215
db2_next_result (PECL ibm_db2 >= 1.0.0) db2_next_result — ストアドプロシージャから、次の結果セットを要求する 説明 function db2_next_result ( resource $stmt ): resource | false ストアドプロシージャは、複数の結果セットを返すことができます。 単 ... { [0]=> string(16) "Sweater " [1]=> int(6) [2]=> string(5) "llama" [3]=> string(6) "150.00" } array(4) { [0]=> string(16) "Smarty " [1]=> int(2) [2]=> string(5) "horse" [3]=> string(6) "350.00" } 3 番目の結果セットを取得します array(1) { [0]=> string(1 ...
https://man.mtool.work/php/8.3/function.db2-next-result.html
db2_prepare — 実行する SQL 文を準備する | PHP 8.3 8179
db2_prepare (PECL ibm_db2 >= 1.0.0) db2_prepare — 実行する SQL 文を準備する 説明 function db2_prepare ( resource $connection , string $statement , array $options = [] ): resource | false db2_prepare() は、プリペアドステートメントを作成します ... す。 <?php $animals = array( array( 0 , 'cat' , 'Pook' , 3.2 ), array( 1 , 'dog' , 'Peaches' , 12.3 ), array( 2 , 'horse' , 'Smarty' , 350.0 ), ); $insert = 'INSERT INTO animals (id, breed, name, weight) VALUES (?, ?, ?, ?)' ; $stmt = db2_prepare ( $conn ...
https://man.mtool.work/php/8.3/function.db2-prepare.html
db2_exec — SQL 文を直接実行する | PHP 8.3 8142
db2_exec (PECL ibm_db2 >= 1.0.0) db2_exec — SQL 文を直接実行する 説明 function db2_exec ( resource $connection , string $statement , array $options = [] ): resource | false SQL 文を直接実行します。 PHP 変数の内容を SQL 文に組み込みたい場合は ... 投入します $animals = array( array( 0 , 'cat' , 'Pook' , 3.2 ), array( 1 , 'dog' , 'Peaches' , 12.3 ), array( 2 , 'horse' , 'Smarty' , 350.0 ), array( 3 , 'gold fish' , 'Bubbles' , 0.1 ), array( 4 , 'budgerigar' , 'Gizmo' , 0.2 ), array( 5 , 'goat' , 'Ri ...
https://man.mtool.work/php/8.3/function.db2-exec.html
PREV 1 NEXT