/** * Set root title (first node name) * * @param $value string. * @return void */ public function validatePost() { request::load(); $this->setValue('appTitle', (string) request::get('appTitle'))->blank($this->locale->error->blank->replace('__name', 'Application Title')); return $this->isPass(); }
public function __construct() { $this->locale = \bootstrap::getInstance('locale'); request::load(); }
public function __construct($view, $model, $locale, $conf) { request::load(); session::load(); }