Esempio n. 1
0
 /** Set a specific field to an integer value. */
 public function setInteger($strName, $strValue)
 {
     if (!clsDB::isValidFieldName($strName)) {
         throw new Exception(ERRORMSG_INVALID);
     }
     $this->set($strName, (int) $strValue);
 }