« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for Adapter (0.002 sec.)
Yaf_Dispatcher::setView — カスタムビューエンジンを設定する | PHP 8.3 12389
Yaf_Dispatcher::setView (Yaf >=1.0.0) Yaf_Dispatcher::setView — カスタムビューエンジンを設定する 説明 public function Yaf_Dispatcher::setView ( Yaf_View_Interface $view ): Yaf_Dispatcher このメソッドは、 Yaf_View_Simple ではなくカスタムビュ ... のインスタンス。 戻り値 例 例1 カスタムビューエンジンの例 <?php require "/path/to/smarty/Smarty.class.php" ; class Smarty_Adapter implements Yaf_View_Interface { /** * Smarty オブジェクト * @var Smarty */ public $_smarty ; /** * コンストラクタ * * @par ... ion :: app ()-> getConfig (); Yaf_Registry :: set ( "config" , $config ); } public function _initLocalName () { /** Smarty_Adapter クラスをローカルライブラリディレクトリに配置します */ Yaf_Loader :: getInstance ()-> registerLocalNamespace ( 'Smarty' ); ... } public function _initSmarty ( Yaf_Dispatcher $dispatcher ) { $smarty = new Smarty_Adapter ( null , Yaf_Registry :: get ( "config" )-> get ( "smarty" )); $dispatcher -> setView ( $smarty ); /* これで、Smarty ビュー ...
https://man.mtool.work/php/8.3/yaf-dispatcher.setview.html
Yaf_Config_Ini クラス | PHP 8.3 8469
Yaf_Config_Ini クラス (Yaf >=1.0.0) はじめに Yaf_Config_Ini を使うと、設定データをおなじみの INI 形式で保存でき、アプリケーションからもオブジェクトのプロパティとして読めるようになります。 INI フォーマットを拡張して、設定データを階層構造で扱 ... ig.ini に格納されているものとします。 ; Production site configuration data [production] webhost = www.example.com database.adapter = pdo_mysql database.params.host = db.example.com database.params.username = dbuser database.params.password = secret data ...
https://man.mtool.work/php/8.3/class.yaf-config-ini.html
SolrQuery::collapse — Collapses the result set to a single document per group |... 8469
SolrQuery::collapse (No version information available, might only be in Git) SolrQuery::collapse — Collapses the result set to a single document per group 説明 public function SolrQuery::collapse ( SolrCollapseFunction $collapseFunction ): ... lkin ) [manu_id_s] => belkin [cat] => Array ( [0] => electronics [1] => connector ) [features] => Array ( [0] => car power adapter, white ) [weight] => Array ( [0] => 4 ) [price] => Array ( [0] => 19.95 ) [popularity] => Array ( [0] => 1 ) [inStock] => ...
https://man.mtool.work/php/8.3/solrquery.collapse.html
例 | PHP 8.3 7637
例 PHP で Apache Solr 拡張モジュールを使用する方法の例 例1 ブートストラップ・ファイルの内容 <?php /* Solr サーバーのドメイン名 */ define ( 'SOLR_SERVER_HOSTNAME' , 'solr.example.com' ); /* セキュアなモードで動作するかどうか */ define ( 'SOL ... lkin ) [manu_id_s] => belkin [cat] => Array ( [0] => electronics [1] => connector ) [features] => Array ( [0] => car power adapter, white ) [weight] => Array ( [0] => 4 ) [price] => Array ( [0] => 19.95 ) [popularity] => Array ( [0] => 1 ) [inStock] => ...
https://man.mtool.work/php/8.3/solr.examples.html
PREV 1 NEXT