note 97205 deleted from xsltprocessor.registerphpfunctions by danbrown
| From: | danbrown@php.net | Date: | Thu, 08 Apr 2010 13:27:47 +0000 |
| Subject: | note 97205 deleted from xsltprocessor.registerphpfunctions by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-168017@lists.php.net to get a copy of this message | ||
Note Submitter: wilde825 at planet dot nl
----
@mark at thirst dot org
11-Oct-2006 02:25
This does work in PHP 5.3.x (didn't test 5.2)
class UserClass
{ public static function getSomeValue()
{
return 'someValue';
}
}
$oTransform->registerPHPFunctions('UserClass::getSomeValue');
<xsl:value-of select="php:functionString('UserClass::getSomeValue')" />