# Patch for making static method calls work from within xslt

- Thread: https://externals.io/message/9410
- Original archive: https://news-web.php.net/php.internals/9410
- Started by Christian Stocker on 2004-04-20T09:00:38+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #9410 — Christian Stocker — 2004-04-20T09:00:38+00:00

URL: https://externals.io/message/9410#9410

Hi

I made a patch for making static php method calls (ala class::method) 
work from within xslt.
(see http://slides.bitflux.ch/phpug2004_1/slide_37.html for some details 
about this technique)

I'm not sure, if I can commit that now in this stage of the release 
process. Would be great, if it would make it into 5.0.0.

The patch is here
http://trash.chregu.tv/staticmethod-xsl.diff

a non whitespace-changes diff here:
http://trash.chregu.tv/staticmethod-xsl.non-withespace.diff

chregu



-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  chregu@bitflux.ch  |  gnupg-keyid 0x5CE1DECB

---

## #9411 — Andi Gutmans — 2004-04-20T09:05:57+00:00

URL: https://externals.io/message/9410#9411 · In reply to: #9410

Hi,

 From looking at the non-whitespace diff I don't quite understand what you 
changed (except for adding an error message if it's not callable). What am 
I missing?

Andi

At 11:00 AM 4/20/2004 +0200, Christian Stocker wrote:
>Hi
>
>I made a patch for making static php method calls (ala class::method) work 
>from within xslt.
>(see http://slides.bitflux.ch/phpug2004_1/slide_37.html for some details 
>about this technique)
>
>I'm not sure, if I can commit that now in this stage of the release 
>process. Would be great, if it would make it into 5.0.0.
>
>The patch is here
>http://trash.chregu.tv/staticmethod-xsl.diff
>
>a non whitespace-changes diff here:
>http://trash.chregu.tv/staticmethod-xsl.non-withespace.diff
>
>chregu
>
>
>
>--
>christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
>phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
>http://www.bitflux.ch  |  chregu@bitflux.ch  |  gnupg-keyid 0x5CE1DECB
