31 $parser->setHook(
'tag', [ __CLASS__,
'dumpHook' ] );
32 $parser->setHook(
'tåg', [ __CLASS__,
'dumpHook' ] );
33 $parser->setHook(
'statictag', [ __CLASS__,
'staticTagHook' ] );
39 var_export( $in,
true ) .
"\n" .
40 var_export( $argv,
true ) .
"\n" .
45 if ( !count( $argv ) ) {
48 } elseif ( count( $argv ) === 1 && isset( $argv[
'action'] )
49 && $argv[
'action'] ===
'flush' && $in ===
null
52 if ( isset(
$parser->static_tag_buf ) ) {
60 return "\nCall this extension as <statictag>string</statictag> or as" .
61 " <statictag action=flush/>, not in any other way.\n" .
62 "text: " . var_export( $in,
true ) .
"\n" .
63 "argv: " . var_export( $argv,
true ) .
"\n";
static dumpHook( $in, $argv)
static staticTagHook( $in, $argv, $parser)
see documentation in includes Linker php for Linker::makeImageLink or false for current used if you return false $parser