开发者

Autoloading module level classes and config files in symfony

I am trying to auto-load classes from the "lib" directory inside of one specific module directory.

I have tried everything but to no avail... One of the classes I would like to load is a class called visUser 开发者_运维技巧which inherits from myUser I have already made a factory.yml file in myapplication/modules/mymodule/conf but it doesn't load...

I am doing something wrong? or module level configuration files are not suported?

I am using symfony 1.2 with propel.


Factories are an application specific file and cannot be overloaded on the module level. It's a weird idea anyway.

Read the config handlers file to see what files are supported on the modules level configuration (symfony/lib/config/config/config_handlers.yml).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜