__construct() public method

Constructor.
public __construct ( $template = null )
$template string? Optional name of template file to use for form presentation
Esempio n. 1
0
 /**
  * Constructor.
  * @param $template string? Optional name of template file to use for form presentation
  */
 function __construct($template = null)
 {
     parent::__construct($template ? $template : 'controllers/tab/settings/siteSetup/form/siteSetupForm.tpl');
     $themes = PluginRegistry::getPlugins('themes');
     if (is_null($themes)) {
         PluginRegistry::loadCategory('themes', true);
     }
     AppLocale::requireComponents(LOCALE_COMPONENT_APP_COMMON);
 }