Index: trunk/extensions/ThumbParser/ThumbParser.hooks.php |
— | — | @@ -1,8 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | class ThumbParserHooks { |
4 | | - function efThumbParserFunction_Setup( $parser ) { |
| 4 | + public function efThumbParserFunction_Setup( $parser ) { |
5 | 5 | # Set a function hook associating the "example" magic word with our function |
6 | | - $parser->setFunctionHook( 'thumb', 'efThumbParserFunction_Render' ); |
| 6 | + $parser->setFunctionHook( 'thumb', 'ThumbParserHooks::efThumbParserFunction_Render' ); |
7 | 7 | return true; |
8 | 8 | } |
9 | 9 | |