« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for phtml (0.002 sec.)
アプリケーションの設定 | PHP 8.3 12373
アプリケーションの設定 設定内容を記した配列か、あるいは ini ファイルへのパス ( Yaf_Config_Ini を参照ください) を Yaf_Application::__construct() に渡さなければいけません。 Yaf は、アプリケーションの設定とユーザーの設定を自動的にマージします。 ... > array( "directory" => dirname ( __FILE__ ), "dispatcher" => array( "catchException" => 0 , ), "view" => array( "ext" => "phtml" , ), ), ); $app = new Yaf_Application ( $configs ); ?> 例2 ini ファイルの例 [yaf] yaf.directory = APPLICATION_PATH "/appl ... t here Yaf アプリケーション設定 名前 デフォルト 変更履歴 application.directory application.ext "php" application.view.ext "phtml" application.modules "index" application.library application.directory . "/library" application.library.directory applicat ...
https://man.mtool.work/php/8.3/yaf.appconfig.html
Yaf_View_Simple::assignRef — The assignRef purpose | PHP 8.3 9927
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() とは異なり、 このメソッドは参照で値 ... り前のバージョンにはバグがあり、 * この出力が "bar" になっていました */ $dummy = $this -> getView ()-> render ( "index/index.phtml" ); echo $value ; // 自動レンダリングを無効にします Yaf_Dispatcher :: getInstance ()-> autoRender ( FALSE ); } } ?> 例2 テ ...
https://man.mtool.work/php/8.3/yaf-view-simple.assignref.html
Yaf_Application::__construct — Yaf_Application のコンストラクタ | PHP 8.3 8696
Yaf_Application::__construct (Yaf >=1.0.0) Yaf_Application::__construct — Yaf_Application のコンストラクタ 説明 public function Yaf_Application::__construct ( mixed $config , string $environ = ? ) Yaf_Application のインスタンスを作成します。 ... atcher.catchException=1 application.baseUri="" ;the php script ext name ap.ext=php ;the view template ext name ap.view.ext=phtml ap.dispatcher.defaultModule=Index ap.dispatcher.defaultController=Index ap.dispatcher.defaultAction=index ;defined modules ...
https://man.mtool.work/php/8.3/yaf-application.construct.html
Apache httpd 2.x (Unixシステム用) | PHP 8.3 7464
Apache httpd 2.x (Unixシステム用) このセクションでは、PHP を Linux および Unix 系のシステム上の Apache HTTP Server 2.x にインストールする際の手引きと注意事項について説明します。 警告 mod_php ではなく PHP-FPM を使いましょう 新規のインストール ... \.php$> SetHandler application/x-httpd-php </FilesMatch> あるいは、拡張子 .php , .php2 , .php3 , .php4 , .php5 , .php6 , .phtml のファイルだけを PHP として実行したい場合は、以下のようにします。 <FilesMatch "\.(php[2-6]?|phtml)$"> SetHandler applicati ...
https://man.mtool.work/php/8.3/install.unix.apache2.html
例 | PHP 8.3 7464
例 例1 標準的なアプリケーションのディレクトリ構造 - index.php - .htaccess + conf |- application.ini // アプリケーションの設定 - application/ - Bootstrap.php + controllers - Index.php // デフォルトのコントローラ + views |+ index - index.phtml ...
https://man.mtool.work/php/8.3/yaf.tutorials.html
PREV 1 NEXT