public function set($value) { if (preg_match('/<\\/?[^>]+>/i', $value)) { throw new \Exception('Tags are not permitted in TextOnly'); } parent::set($value); }
public function set($value) { if (!preg_match('@/$@', $value)) { $value .= '/'; } parent::set($value); }
public function setTitle($var) { $this->title->set($var); }
public function setDescription($var) { $this->description->set($var); }
public function setCategory($var) { $this->category->set($var); }
public function setFaxNumber($fax) { $fax = preg_replace('/[^\\d]/', '', $fax); $this->fax_number->set($fax); }
public function setSiteAddress($var) { $this->siteAddress->set($var); }