[fw-general] Reflection: get docblock for constants

2011-03-14 Thread Jan Pieper
Hi guys, is it possible to get the docblock comment for a class constant with Zend_Reflection and/or Zend_Server_Reflection? with regards, Jan Pieper -- View this message in context:

[fw-general] Where to place auto loader?

2011-03-14 Thread nettrinity
There is sample code here to show how to use the loader, but it doesn't tell you where to place the code. Should I load resource in bootstrap.php file? in the _initXXX function? http://framework.zend.com/manual/1.11/en/zend.loader.autoloader-resource.html Thanks~ -- View this message in

[fw-general] Why the Zend_Loader_Autoloader_Resource exists?

2011-03-14 Thread nettrinity
Dear friends, I have the following questions regards the auto loader: 1. what is the purpose of Zend_Loader_Autoloader_Resource? 2. Why Zend needs us to load things? 3. what is the difference between load and include in PHP? Thanks~ Nicolas -- View this message in context:

[fw-general] Re: Where to place auto loader?

2011-03-14 Thread micha149
Hi! 2011/3/14 nettrinity [via Zend Framework Community] ml-node+3352960-161277513-216...@n4.nabble.com There is sample code here to show how to use the loader, but it doesn't tell you where to place the code. Should I load resource in bootstrap.php file? You have to decide it by your own.

Re: [fw-general] Reflection: get docblock for constants

2011-03-14 Thread Ralph Schindler
Hey Jan, Currently, no. http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Reflection/Class.php (there is a getProperty, but no getConstant) It appears constant support was never added (I guess no one ever really thought of needing to get the doccomment from a constant?)

[fw-general] Exception when Setting up WURFL

2011-03-14 Thread is that you john wayne?
Guys, I'm looking to incorporate WURFL within my boostrap. As such i've been following: http://framework.zend.com/manual/en/zend.http.user-agent.html I've followed this as accuratly as possible, changing various parts to my needs. My Application.ini has the following:

[fw-general] Re: Exception when Setting up WURFL

2011-03-14 Thread is that you john wayne?
For those of you having this problem the solution is to create a front controller plugin and not within the bootstrap. I'm not sure why, maybe something to do with the order? this video helped me alot: http://mcloide.wordpress.com/2010/12/08/mobile-development-with-zend-framework-and-wurfl/

[fw-general] Re: passing application pluginResources along to modules

2011-03-14 Thread mpinkston
Right.. can't pass along the loaded resources, 'cause then you couldn't load resources with different configs per module. my answer is to use a static variable to keep track of whether or not I already loaded my custom router/dispatcher etc.. -- View this message in context:

Re: [fw-general] Exception when Setting up WURFL

2011-03-14 Thread Matthew Weier O'Phinney
-- is that you john wayne? a...@squadify.com wrote (on Monday, 14 March 2011, 10:05 AM -0700): I'm looking to incorporate WURFL within my boostrap. As such i've been following: http://framework.zend.com/manual/en/zend.http.user-agent.html I've followed this as accuratly as possible, changing