■modulesについて

・独立して動作させる

・HMVCを利用できる

・独立したルーティングを定義できる

 

■module化の手順

・config.phpの編集

/fuel/app/config/config.php を編集し、有効化する。

'module_paths' => array(
	APPPATH.'modules'.DS
),

・namespaceの設定

Controller や Modelに namespace の設定が必要になる。


■ルーティングの定義方法
/fuel/app/modules/(app名)/config/ にroutes.php を作成し、ルーティングを定義する。
ルーティングは通常の/fuel/app/config/routes.php とまったく同様。

160 Comments

  1. https://swisscows.com/en/web?query="My Canadian Pharmacy - Extensive Assortment of Medications – 2022" says:

    Generic viagra https://swisscows.com/en/web?query=“My Canadian Pharmacy – Extensive Assortment of Medications – 2022”

    Really tons of helpful facts!

  2. https://www.dogpile.com/serp?q="My Canadian Pharmacy - Extensive Assortment of Medications – 2022" says:

    Generic viagra https://www.dogpile.com/serp?q=“My Canadian Pharmacy – Extensive Assortment of Medications – 2022”

    You have made your point pretty effectively.!

  3. best canadian pharmacy says:

    online pharmacies canada

    You actually revealed that adequately!

  4. https://search.givewater.com/serp?q="My Canadian Pharmacy - Extensive Assortment of Medications – 2022" says:

    Viagra prices https://search.givewater.com/serp?q=“My Canadian Pharmacy – Extensive Assortment of Medications – 2022”

    Helpful write ups. Thanks!

  5. results.excite.comserp?q="My Canadian Pharmacy - Extensive Assortment of Medications – 2022" says:

    Viagra kaufen https://results.excite.com/serp?q=“My Canadian Pharmacy – Extensive Assortment of Medications – 2022”

    Cheers. Valuable information!

  6. www.infospace.comserp?q="My Canadian Pharmacy - Extensive Assortment of Medications – 2022" says:

    5 mg viagra coupon printable https://www.infospace.com/serp?q=“My Canadian Pharmacy – Extensive Assortment of Medications – 2022”

    You actually said this fantastically!

Leave a Reply