function Title() { if (!$this->title_id) { $this->title_id = TextPro::generate()->id; } $T = TextPro($this->title_id); !trim($T) && $T->set($this->name); return $T; }
function Title($value = null) { if (!$this->vs['title']) { $this->vs['title'] = \TextPro::generate()->id; // todo: set value to table-name $this->Db->qg_db_field->update($this->vs); } if ($this->_Title === null) { $this->_Title = TextPro($this->vs['title']); } if ($value !== null) { $this->_Title->set($value); } return $this->_Title; }
function Title($value = null) { if (!$this->vs['title_id']) { $this->_setVs(array('title_id' => TextPro::generate()->id)); } if ($this->Title === null) { $this->Title = TextPro($this->vs['title_id']); } if ($value !== null) { $this->_changed(); $this->Title->set($value); $this->urlsSeoGen(); } return $this->Title; }
function Title($value = null) { if ($this->Title === null) { $this->Title = TextPro($this->vs['title_id']); $this->Title->edit = $this->edit; } if ($value !== null) { $this->Title->set($value); $this->urlsSeoGen(); } return $this->Title; }