/** * Initializes variables * * @mvc Controller */ public function init() { self::$default_settings = self::get_default_settings(); $this->settings = self::get_settings(); }
/** * Constructor * * @mvc Controller */ protected function __construct() { $this->register_hook_callbacks(); $this->modules = array('WPDC_Settings' => WPDC_Settings::get_instance()); }