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?)

If you want to file an issue and add the feature, this week is the monthly bughunt. I don't see any reason why this feature cannot be added.

-ralph

On 3/14/11 8:44 AM, Jan Pieper wrote:
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: 
http://zend-framework-community.634137.n4.nabble.com/Reflection-get-docblock-for-constants-tp3353893p3353893.html
Sent from the Zend Framework mailing list archive at Nabble.com.


--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to