private $container;
/**
* @Inject
- * @var Galette\Core\Db
+ * @var \Galette\Core\Db
*/
protected $zdb;
/**
* @Inject
- * @var Galette\Core\Login
+ * @var \Galette\Core\Login
*/
protected $login;
/**
* @Inject
- * @var Galette\Core\Preferences
+ * @var \Galette\Core\Preferences
*/
protected $preferences;
/**
* @Inject
- * @var Slim\Views\Smarty
+ * @var \Slim\Views\Smarty
*/
protected $view;
/**
* @Inject
- * @var Galette\Core\Logo
+ * @var \Galette\Core\Logo
*/
protected $logo;
/**
* @Inject
- * @var Galette\Core\Plugins
+ * @var \Galette\Core\PrintLogo
+ */
+ protected $print_logo;
+ /**
+ * @Inject
+ * @var \Galette\Core\Plugins
*/
protected $plugins;
/**
* @Inject
- * @var Slim\Router
+ * @var \Slim\Router
*/
protected $router;
/**
* @Inject
- * @var Galette\Core\History
+ * @var \Galette\Core\History
*/
protected $history;
/**
* @Inject
- * @var Galette\Core\I18n
+ * @var \Galette\Core\I18n
*/
protected $i18n;
/**
protected $session;
/**
* @Inject
- * @var Slim\Flash\Messages
+ * @var \Slim\Flash\Messages
*/
protected $flash;
/**
* @Inject
- * @var Galette\Entity\FieldsConfig
+ * @var \Galette\Entity\FieldsConfig
*/
protected $fields_config;
/**
* @Inject
- * @var Galette\Entity\ListsConfig
+ * @var \Galette\Entity\ListsConfig
*/
protected $lists_config;
/**
/**
* @Inject
- * @var Galette\Handlers\NotFound
+ * @var \Galette\Handlers\NotFound
*/
protected $notFoundHandler;
/**
* Set default preferences at install time
*
- * @param staing $lang language selected at install screen
+ * @param string $lang language selected at install screen
* @param string $adm_login admin login entered at install time
* @param string $adm_pass admin password entered at install time
*
- * @return boolean|Exception
+ * @return boolean|\Exception
*/
public function installInit($lang, $adm_login, $adm_pass)
{
$this->buildLists();
return true;
} catch (\Exception $e) {
- throw $e;
Analog::log(
'Fields configuration cannot be loaded!',
Analog::URGENT
);
- return false;
+ throw $e;
}
}
* Set default fields configuration at install time. All previous
* existing values will be dropped first, including fields categories.
*
- * @return boolean|Exception
+ * @return boolean|\Exception
*/
public function installInit()
{