Hi

How i can access to $Group, $Name variable from custom Markup?

example:

Markup("get_content", "directives",
'/\(:get_content\s+\((.+?)\):\)/e',"_get_content($1)");
.....
.....
function _get_content($filename)
{
$foo=file_get_contents($mypath.$Group.'/'.$Name.'/'.$filename);
return $foo;
}
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to