List Info

Thread: Comment on PHP::PHP_Callback




Comment on PHP::PHP_Callback
user name
2007-05-08 09:39:14
Travis Swicegood (http://pear.php.n
et/user/tswicegood) has commented on the proposal for
PHP::PHP_Callback.

Comment:

That's actually a really good idea, Alexey.  I can use
__call() to provide
access to all of those methods with practically no overhead
(just parsing
of __call()) unless they use any of those methods.

One thing is figuring out how to document them. 
phpDocumentor >= 1.4 has
a new method call, but unfortunately it just adds a new
list item to the
class summary, not a full fledged method declaration to the
documentation. 
The only thing I can come up with is including a note at the
class docblock
level that notes that if isFunction() is true, all of the
ReflectionFunction methods are available, otherwise all of
the
ReflectionMethod methods are available.

Any thoughts?

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=482


-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )