On Fri, 30 May 2008 13:20:38 +0100, anru chen <[EMAIL PROTECTED]> wrote:


zend framework has a Zend_Config class, in that class, __isset is a protected function. so if i am pass a Zend_Config object to PHPTal, and try to do some thing like <a href="www.foo.com" tal:attributes="href config/webhost" >here</a>

PHP throws this error:
Fatal error: Call to protected method Zend_Config::__isset() from
context '' in e:\php\PEAR\PHPTAL\Context.php on line 269.

I've replaced method_exists with is_callable and this should solve the problem. Please try the SVN version:

svn co https://svn.motion-twin.com/phptal/trunk/classes phptal

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to