%PDF- %PDF-
Direktori : /proc/985914/root/www/varak.net/wiki.varak.net/extensions/Babel/ |
Current File : //proc/985914/root/www/varak.net/wiki.varak.net/extensions/Babel/BabelStatic.class.php |
<?php /** * Static functions for extension. * * @file * @author Robert Leverington * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ /** * Static functions for Babel extension. */ class BabelStatic { /** * Registers the parser function hook. * * @param $parser Parser * * @return Boolean: True. */ public static function onParserFirstCallInit( $parser ) { $parser->setFunctionHook( 'babel', array( 'Babel', 'Render' ) ); return true; } }