« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 44 for Assign (0.004 sec.)
Operator Overloading Magic Methods | PHP 8.3 15045
Operator Overloading Magic Methods The operator overloading extension allows you to define how an object reacts to operators. This is done by implementing the following magic methods: Arithmetic operators: $a::__add($b) $a::__sub($b) $a::__ ... mul($b) $a::__div($b) $a::__mod($b) $a::__pow($b) Assignment operators: $a::__assign($b) $a::__assign_add($b) $a::__assign_sub($b) $a::__assign_mul($b) $a::__assign_div($b) $a::__ ... assign_mod($b) $a::__assign_pow($b) $a::__assign_bw_and($b) $a::__assign_bw_or($b) $a::__assign_bw_xor($b) $a::__assign_sl($b) $a::__assign_sr($b) $a: ... :__assign_concat($b) Bitwise operators: $a::__bw_and($b) $a::__bw_or($b) $a::__bw_xor($b) $a::__bw_not() $a::__sl($b) $a::__sr($b) C ...
https://man.mtool.work/php/8.3/operator.overloading.html
Yaf_View_Simple::assign — 値を代入する | PHP 8.3 10819
Yaf_View_Simple::assign (Yaf >=1.0.0) Yaf_View_Simple::assign — 値を代入する 説明 public function Yaf_View_Simple::assign ( string $name , mixed $value = ? ): bool 変数をビューエンジンに代入します。 パラメータ name 文字列あるいは配列。 文字 ... 列の場合は、次の引数 $value が必須となります。 value 代入する値。 戻り値 例 例1 Yaf_View_Simple::assign() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this -> getView ()- ... > assign ( "foo" , "bar" ); $this -> _view -> assign ( array( "key" => "value" , "name" => "value" )); } } ?> 例2 テンプレートの例 ... _vars as $name => $value ) { echo $ $name ; // or echo $this->_tpl_vars[$name]; } ?> </body> </html> 参考 Yaf_View_Simple::assignRef() - The assignRef purpose Yaf_View_Interface::clear() Yaf_View_Simple::__set() - 値をエンジンに設定する 他のマニュアルの ...
https://man.mtool.work/php/8.3/yaf-view-simple.assign.html
Lua::assign — PHP 変数を Lua にアサイン | PHP 8.3 10496
Lua::assign (PECL lua >=0.9.0) Lua::assign — PHP 変数を Lua にアサイン 説明 public function Lua::assign ( string $name , string $value ): mixed 警告 この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 パラ ... メータ name value 戻り値 $this 、あるいは失敗した場合に null を返します。 例 例1 Lua::assign() の例 <?php $lua = new Lua (); $lua -> assign ( "php_var" , array( 1 => 1 , 2 , 3 )); //lua table index begin with 1 $lua ...
https://man.mtool.work/php/8.3/lua.assign.html
Swoole\Connection\Iterator::offsetSet — Assign a Connection to the specified of... 9390
Swoole\Connection\Iterator::offsetSet (PECL swoole >= 1.9.0) Swoole\Connection\Iterator::offsetSet — Assign a Connection to the specified offset. 説明 public function Swoole\Connection\Iterator::offsetSet ( int $offset , mixed $connection ) ... : void Assign a Connection to the specified offset. パラメータ offset The offset to assign the Connection to. connection The connection ...
https://man.mtool.work/php/8.3/swoole-connection-iterator.offsetset.html
Yaf_Dispatcher::setView — カスタムビューエンジンを設定する | PHP 8.3 9390
Yaf_Dispatcher::setView (Yaf >=1.0.0) Yaf_Dispatcher::setView — カスタムビューエンジンを設定する 説明 public function Yaf_Dispatcher::setView ( Yaf_View_Interface $view ): Yaf_Dispatcher このメソッドは、 Yaf_View_Simple ではなくカスタムビュ ... ing $key 変数名 * @param mixed $val 変数の値 * @return void */ public function __set ( $key , $val ) { $this -> _smarty -> assign ( $key , $val ); } /** * empty() と isset() による確認をできるようにする * * @param string $key * @return boolean */ publi ... t() できるようにする * * @param string $key * @return void */ public function __unset ( $key ) { $this -> _smarty -> clear_assign ( $key ); } /** * 変数をテンプレートに代入する * * 指定したキーに値を代入したり、 * key => value ペアの配列で一括代入したり ... ペアの配列) * @param mixed $value (オプション) 変数名を指定した場合に、ここで値を指定する * @return void */ public function assign ( $spec , $value = null ) { if ( is_array ( $spec )) { $this -> _smarty -> assign ( $spec ); return; } $this -> _smarty -> ...
https://man.mtool.work/php/8.3/yaf-dispatcher.setview.html
Yaf_View_Interface::assign — 値をビューエンジンに代入する | PHP 8.3 9005
Yaf_View_Interface::assign (Yaf >=1.0.0) Yaf_View_Interface::assign — 値をビューエンジンに代入する 説明 abstract public function Yaf_View_Interface::assign ( string $name , string $value = ? ): bool 値をビューエンジンに代入します。これで、テ ...
https://man.mtool.work/php/8.3/yaf-view-interface.assign.html
Yaf_View_Simple::__set — 値をエンジンに設定する | PHP 8.3 8867
Yaf_View_Simple::__set (Yaf >=1.0.0) Yaf_View_Simple::__set — 値をエンジンに設定する 説明 public function Yaf_View_Simple::__set ( string $name , mixed $value ): void Yaf_View_Simple::assign() をもっと簡単にするもうひとつの方法です。 パラメ ... IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this -> getView ()-> foo = "bar" ; // assign("foo", "bar"); と同じ意味 } } ?> 参考 Yaf_View_Simple::assignRef() - The assignRef purpose Yaf_View_Interface::assign() - ...
https://man.mtool.work/php/8.3/yaf-view-simple.set.html
OCICollection::assign — コレクションに他の存在するコレクションから値を割り当て... 8667
OCICollection::assign (PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0) OCICollection::assign — コレクションに他の存在するコレクションから値を割り当てる 説明 public function OCICollection::assign ( OCICollection $from ): bool 事前に生成された他のコ ...
https://man.mtool.work/php/8.3/ocicollection.assign.html
EventBufferEvent::setPriority — Assign a priority to a bufferevent | PHP 8.3 8421
EventBufferEvent::setPriority (PECL event >= 1.2.6-beta) EventBufferEvent::setPriority — Assign a priority to a bufferevent 説明 public function EventBufferEvent::setPriority ( int $priority ): bool Assign a priority to a bufferevent 警告 O ...
https://man.mtool.work/php/8.3/eventbufferevent.setpriority.html
Yaf_View_Simple::assignRef — The assignRef purpose | PHP 8.3 8345
Yaf_View_Simple::assignRef (Yaf >=1.0.0) Yaf_View_Simple::assignRef — The assignRef purpose 説明 public function Yaf_View_Simple::assignRef ( string $name , mixed &$value ): bool Yaf_View_Simple::assign() とは異なり、 このメソッドは参照で値 ... ジンに代入します。 パラメータ name テンプレート内でのアクセスに使う名前。 value 代入する値。 戻り値 例 例1 Yaf_View_Simple::assignRef() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $value = "bar" ; ... $this -> getView ()-> assign ( "foo" , $value ); /* Yaf 2.1.4 より前のバージョンにはバグがあり、 * この出力が "bar" になっていました */ $dummy = $this ... の例の出力は、 たとえば以下のようになります。 /* index コントローラにアクセスしたときの結果 */ changed 参考 Yaf_View_Simple::assign() - 値を代入する Yaf_View_Simple::__set() - 値をエンジンに設定する 他のマニュアルの関連ページ Linux JM head(1) Django api ...
https://man.mtool.work/php/8.3/yaf-view-simple.assignref.html
PREV 1 2 3 4 5 NEXT