[pmwiki-users] Programming for the CookBook: $FullName

Mike mike at widowitz.com
Sun Oct 1 13:39:23 CDT 2006


Folks, sorry for the question, I figured out that it's $pagename.
Actually, I had tried that before, but had forgotten to declare it as a
global in my function.

PHP beginner at work... :-)



Mike wrote on 01.10.2006 20:32:
> Hi all,
>
> I suppose this is a really easy one: I'm writing a custom directive
>
> (:mydirective:)
>
> and from within the PHP code behind this directive, I need to know the
> pagename which is calling the directive, e.g. "Main.Test". How can I
> access this variable from within my PHP code?
>
> Thanks,
> Mike
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061001/f7794209/attachment.html 


More information about the pmwiki-users mailing list