on 05/04/2010 04:00, jigen7 at [email protected] wrote:

> 
> is there a way so that i can return all the models name created within a
> project?thanks 

Hi. I would look into Zend Tool which maintains the .zfproject.xml file in
the root of your project. Even if you are not using the tool to create your
controllers, models etc. I think it is possible to 'refresh' this XML file
for your project. You could then use your preferred XML parsing method to
read it and build your list of model names.

Of course there is at least one other way, i.e. parse the project directory
tree but I would prefer to read the XML file.

YMMV.

Regards,

Narinder.
-- 

 ______________________________________________________
| Narinder Chandi, Director,
| ToolBox Systems Limited, Surrey, England, UK.
| tel : +44 (0)1372 720117, mob : +44 (0)7973 512495
| www      : http://www.toolbox.uk.com
| Skype    : NarinderChandi
| LinkedIn : http://www.linkedin.com/in/toolboxsystems
| Twitter  : @ToolBoxSystems
|______________________________________________________
|         Consultancy * Development * Support
|______________________________________________________


Reply via email to