public function setEmail($string = '') { if ($this->isValidMail($string) == TRUE) { return parent::setVar($string, 'email', 'string'); } // end if }
public function setURLlang($string = '') { if (parent::isLanguage($string) == FALSE) { return FALSE; } // END IF return parent::setVar($string, 'url_lang', 'string'); }
public function setContentType($string = '') { if (in_array($string, $this->allowed_types) == TRUE) { return parent::setVar($string, 'type', 'string'); } // end if return FALSE; }
public function setID($string = '') { return parent::setVar($string, 'id', 'string'); }
public function setUpdated($datetime = '1970-01-01T00:00:00Z') { if (parent::isvalidDate($datetime) == TRUE) { return parent::setVar($datetime, 'updated', 'string'); } // end if return FALSE; }
public function setLabel($string = '') { return parent::setVar($string, 'label', 'string'); }