On 26 Oct 2009, at 09:04, Benjamin Börngen-Schmidt wrote:
> What I did not understand was your second question.
> If you have named the Module "Admin" and then use "admin" as module
> name on the action-create It will fail on OS X.

If there is a module "Admin", then using the spelling  
"admin" (accidentally: as I did), for the action-create script, it  
will *not* fail, but I think it should produce the same error as when  
entering a completely wrong module name. The script creates class  
names using the capitalisation entered, so in this case the new action  
class is created as:

class admin_TestAction extends MyProjectadminBaseAction

However, there is no "MyProjectadminBaseAction", only  
"MyProjectAdminBaseAction", so PHP will then fail to find the base  
class.

Michal.




_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to