2011年1月20日星期四

[fw-mvc] Config appnamespace

Hi,

I got problems with configure application autoloader.
If I have 2 separated modules as following.
And my application is follow recommended structure that have application.ini
file

application/
|--config/
|--layouts/
|--modules/
| |--hotelfront/
| |--models/
| |--Room.php
| |--hotelreservation/
| |--forms/
| |--Reservation.php
library/
public/

I decide to take advantage of using Zend_Application.
If I want to load resource like this:

Hotelfront_Model_Room
Hotelreservation_Form_Reservation

What should i do? Is appnamespace directive (in ZF 1.10) a solution for this
situation? If so how?
What is exactly appnamespace for?
Thank you.

regards.

tik50
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Config-appnamespace-tp3228784p3228784.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: