note 97205 added to xsltprocessor.registerphpfunctions
| From: | wilde825 at planet dot nl | Date: | Thu, 08 Apr 2010 10:33:32 +0000 |
| Subject: | note 97205 added to xsltprocessor.registerphpfunctions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168007@lists.php.net to get a copy of this message | ||
@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')" />
----
Server IP: 91.199.167.223
Probable Submitter: 85.150.120.108
----
Manual Page -- http://www.php.net/manual/en/xsltprocessor.registerphpfunctions.php
Edit -- https://master.php.net/note/edit/97205
Del: integrated -- https://master.php.net/note/delete/97205/integrated
Del: useless -- https://master.php.net/note/delete/97205/useless
Del: bad code -- https://master.php.net/note/delete/97205/bad+code
Del: spam -- https://master.php.net/note/delete/97205/spam
Del: non-english -- https://master.php.net/note/delete/97205/non-english
Del: in docs -- https://master.php.net/note/delete/97205/in+docs
Del: other reasons-- https://master.php.net/note/delete/97205
Reject -- https://master.php.net/note/reject/97205
Search -- https://master.php.net/manage/user-notes.php