/** * Sets and returns text object * * @param array $params * @return Setting\Text */ public function text($params = array()) { if (!isset($this->text)) { $this->text = new Setting\Text(); } $this->text->setParams($params); return $this->text; }
/** * Sets and returns text object * * @param array $params * @return Setting\Text */ public function title($params = array()) { if (!isset($this->title)) { $this->title = new Setting\Text(); } $this->title->setParams($params); return $this->title; }