mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
713a0b4a67
@ -63,7 +63,7 @@ class Page extends SiteTree
|
||||
'MyShortCodeMethod' => 'HTMLText'
|
||||
];
|
||||
|
||||
public static function MyShortCodeMethod($arguments, $content = null, $parser = null, $tagName)
|
||||
public static function MyShortCodeMethod($arguments, $content = null, $parser = null, $tagName = null)
|
||||
{
|
||||
return "<em>" . $tagName . "</em> " . $content . "; " . count($arguments) . " arguments.";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user