public static function get($name, &$args, &$options, &$called)
    {
        $moduleClass = 'Xiphe\HTML\modules\\'.ucfirst($name);

        if (!isset(self::$_loadedModules[$name])) {
            self::$_loadedModules[$name] = new $moduleClass();
            self::$_loadedModules[$name]->name = $name;
        }

        self::$_loadedModules[$name]->init($args, $options, $called);
        return self::$_loadedModules[$name];
    }
public static function get($name, &$args, &$options, &$called)
    {
        $moduleClass = 'Xiphe\HTML\modules\\'.ucfirst($name);

        if (!isset(self::$_loadedModules[$name])) {
            self::$_loadedModules[$name] = new $moduleClass();
            self::$_loadedModules[$name]->name = $name;
        }

        self::$_loadedModules[$name]->init($args, $options, $called);
        return self::$_loadedModules[$name];
    }
public static function get ( $ name , & $ args , & $ options , & $ called ) { $ moduleClass = 'Xiphe\HTML\modules\\' . ucfirst ( $ name ) ; if ( ! isset ( self :: $ _loadedModules [ $ name ] ) ) { self :: $ _loadedModules [ $ name ] = new $ moduleClass ( ) ; self :: $ _loadedModules [ $ name ] -> name = $ name ; } self :: $ _loadedModules [ $ name ] -> init ( $ args , $ options , $ called ) ; return self :: $ _loadedModules [ $ name ] ; }
Returns a freshly initiated module.

@param string $name     the module name
@param array  &$args    passed arguments
@param array  &$options passed module options
@param string &$called  original call name (alias)

@return object
Returns a freshly initiated module .