Results of 1 - 10 of about 112 for View (0.006 sec.)
- Yaf_View_Simple クラス 8848
- « Yaf_View_Interface::setScriptPath Yaf_View_Simple::assign » PHP Manual Yaf Yaf_View_Simple クラス 検索 Yaf_View_Simple クラス (Yaf >=1.0.0) はじめに Yaf_View_Simple は Yaf の組み込みテンプレートエンジンです。 シンプルながらも高速なテンプレ
... ートエンジンで、PHP スクリプトテンプレートだけに対応しています。 クラス概要 class Yaf_View_Simple implements Yaf_View_Interface { /* プロパティ */ protected $ _tpl_vars ; protected $ _tpl_dir ; /* メソッド */ fina ... mixed $value ): void public function setScriptPath ( string $template_dir ): bool } プロパティ _tpl_vars _tpl_dir 目次 Yaf_View_Simple::assign — 値を代入する Yaf_View_Simple::assignRef — The assignRef purpose Yaf_View_Simple::clear — 代入した値をクリ ... アする Yaf_View_Simple::__construct — Yaf_View_Simple のコンストラクタ Yaf_View_Simple::display — レンダリングして表示する Yaf_View_Simple ...
-
https://man.mtool.work/php/8.3/class.yaf-view-simple.html
- Yaf_View_Simple クラス 8823
- « Yaf_View_Interface::setScriptPath Yaf_View_Simple::assign » PHP Manual Yaf Yaf_View_Simple クラス 検索 Yaf_View_Simple クラス (Yaf >=1.0.0) はじめに Yaf_View_Simple は Yaf の組み込みテンプレートエンジンです。 シンプルながらも高速なテンプレ
... ートエンジンで、PHP スクリプトテンプレートだけに対応しています。 クラス概要 class Yaf_View_Simple implements Yaf_View_Interface { /* プロパティ */ protected $ _tpl_vars ; protected $ _tpl_dir ; /* メソッド */ fina ... mixed $value ): void public function setScriptPath ( string $template_dir ): bool } プロパティ _tpl_vars _tpl_dir 目次 Yaf_View_Simple::assign — 値を代入する Yaf_View_Simple::assignRef — The assignRef purpose Yaf_View_Simple::clear — 代入した値をクリ ... アする Yaf_View_Simple::__construct — Yaf_View_Simple のコンストラクタ Yaf_View_Simple::display — レンダリングして表示する Yaf_View_Simple ...
-
https://man.mtool.work/php/8.3/class.yaf-view-simple.html
- 代入した値をクリアする 8570
- « Yaf_View_Simple::assignRef Yaf_View_Simple::__construct » PHP Manual Yaf_View_Simple 代入した値をクリアする 検索 Yaf_View_Simple::clear (Yaf >=2.2.0) Yaf_View_Simple::clear — 代入した値をクリアする 説明 public function Yaf_View_Simple::cl
... ool 代入した値をクリアします。 パラメータ name 代入した変数名。 空の場合は、すべての変数をクリアします。 戻り値 例 例1 Yaf_View_Simple::clear() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this ... -> getView ()-> clear ( "foo" )-> clear ( "bar" ); // "foo" と "bar" をクリアします。 $this -> _view -> clear (); // 全ての変数をクリ ... アします } } ?> 参考 Yaf_View_Simple::assignRef() - The assignRef purpose Yaf_View_Interface::assign() - 値をビューエンジンに代入する Yaf_View_Simple::_ ...
-
https://man.mtool.work/php/8.3/yaf-view-simple.clear.html
- Yaf_View_Simple のコンストラクタ 8507
- « Yaf_View_Simple::clear Yaf_View_Simple::display » PHP Manual Yaf_View_Simple Yaf_View_Simple のコンストラクタ 検索 Yaf_View_Simple::__construct (Yaf >=1.0.0) Yaf_View_Simple::__construct — Yaf_View_Simple のコンストラクタ 説明 final publi
... c function Yaf_View_Simple::__construct ( string $template_dir , array $options = ? ) パラメータ template_dir テンプレートのベースディレクトリ ... 。デフォルトは APPLICATOIN . "/views" です。 options エンジンのオプション。Yaf 2.1.13 からは、短いタグ "<?=$var?>" を ("short_open_tag" の値にかかわらず) テン ... 使えるようになりました。 オプション "short_tag" をオフにすると、テンプレートで短いタグを使わないようにできます。 例 例1 Yaf_View_Simple::__construct() の例 <?php define ( "TEMPLATE_DIRECTORY" , APPLICATOIN_PATH . '/views' ); $view = new Yaf_View_Simpl ...
-
https://man.mtool.work/php/8.3/yaf-view-simple.construct.html
- 代入した値をクリアする 8482
- « Yaf_View_Simple::assignRef Yaf_View_Simple::__construct » PHP Manual Yaf_View_Simple 代入した値をクリアする 検索 Yaf_View_Simple::clear (Yaf >=2.2.0) Yaf_View_Simple::clear — 代入した値をクリアする 説明 public function Yaf_View_Simple::cl
... ool 代入した値をクリアします。 パラメータ name 代入した変数名。 空の場合は、すべての変数をクリアします。 戻り値 例 例1 Yaf_View_Simple::clear() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this ... -> getView ()-> clear ( "foo" )-> clear ( "bar" ); // "foo" と "bar" をクリアします。 $this -> _view -> clear (); // 全ての変数をクリ ... アします } } ?> 参考 Yaf_View_Simple::assignRef() - The assignRef purpose Yaf_View_Interface::assign() - 値をビューエンジンに代入する Yaf_View_Simple::_ ...
-
https://man.mtool.work/php/8.3/yaf-view-simple.clear.html
- 値を代入する 8482
- « Yaf_View_Simple Yaf_View_Simple::assignRef » PHP Manual Yaf_View_Simple 値を代入する 検索 Yaf_View_Simple::assign (Yaf >=1.0.0) Yaf_View_Simple::assign — 値を代入する 説明 public function Yaf_View_Simple::assign ( string $name , mixed $va
... パラメータ 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 テンプ ... $this -> _tpl_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
- 値をエンジンに設定する 8457
- « Yaf_View_Simple::render Yaf_View_Simple::setScriptPath » PHP Manual Yaf_View_Simple 値をエンジンに設定する 検索 Yaf_View_Simple::__set (Yaf >=1.0.0) Yaf_View_Simple::__set — 値をエンジンに設定する 説明 public function Yaf_View_Simple::__s
... et ( string $name , mixed $value ): void Yaf_View_Simple::assign() をもっと簡単にするもうひとつの方法です。 パラメータ name 変数名。 value 変数の値。 戻り値 例 例1 Yaf_View ... e::__set() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this -> getView ()-> foo = "bar" ; // assign("foo", "bar"); と同じ意味 } } ?> 参考 Yaf_View_Simple::assignRef() - The assignRef purpose Ya ... f_View_Interface::assign() - 値をビューエンジンに代入する 関連キーワード: Yaf View エンジン set assign function name value 変数 f ...
-
https://man.mtool.work/php/8.3/yaf-view-simple.set.html
- 値をエンジンに設定する 8457
- « Yaf_View_Simple::render Yaf_View_Simple::setScriptPath » PHP Manual Yaf_View_Simple 値をエンジンに設定する 検索 Yaf_View_Simple::__set (Yaf >=1.0.0) Yaf_View_Simple::__set — 値をエンジンに設定する 説明 public function Yaf_View_Simple::__s
... et ( string $name , mixed $value ): void Yaf_View_Simple::assign() をもっと簡単にするもうひとつの方法です。 パラメータ name 変数名。 value 変数の値。 戻り値 例 例1 Yaf_View ... e::__set() の例 <?php class IndexController extends Yaf_Controller_Abstract { public function indexAction () { $this -> getView ()-> foo = "bar" ; // assign("foo", "bar"); と同じ意味 } } ?> 参考 Yaf_View_Simple::assignRef() - The assignRef purpose Ya ... f_View_Interface::assign() - 値をビューエンジンに代入する 関連キーワード: View エンジン assign 変数 assignRef render setScriptPat ...
-
https://man.mtool.work/php/8.3/yaf-view-simple.set.html
- 値を代入する 8431
- « Yaf_View_Simple Yaf_View_Simple::assignRef » PHP Manual Yaf_View_Simple 値を代入する 検索 Yaf_View_Simple::assign (Yaf >=1.0.0) Yaf_View_Simple::assign — 値を代入する 説明 public function Yaf_View_Simple::assign ( string $name , mixed $va
... パラメータ 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 テンプ ... $this -> _tpl_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
- Yaf_View_Simple のコンストラクタ 8431
- « Yaf_View_Simple::clear Yaf_View_Simple::display » PHP Manual Yaf_View_Simple Yaf_View_Simple のコンストラクタ 検索 Yaf_View_Simple::__construct (Yaf >=1.0.0) Yaf_View_Simple::__construct — Yaf_View_Simple のコンストラクタ 説明 final publi
... c function Yaf_View_Simple::__construct ( string $template_dir , array $options = ? ) パラメータ template_dir テンプレートのベースディレクトリ ... 。デフォルトは APPLICATOIN . "/views" です。 options エンジンのオプション。Yaf 2.1.13 からは、短いタグ "<?=$var?>" を ("short_open_tag" の値にかかわらず) テン ... 使えるようになりました。 オプション "short_tag" をオフにすると、テンプレートで短いタグを使わないようにできます。 例 例1 Yaf_View_Simple::__construct() の例 <?php define ( "TEMPLATE_DIRECTORY" , APPLICATOIN_PATH . '/views' ); $view = new Yaf_View_Simpl ...
-
https://man.mtool.work/php/8.3/yaf-view-simple.construct.html