59 $fid = $field->getId();
60 $rid = $record->getId();
61 if(!isset(self::$record_field_cache[$rid])){
62 self::$record_field_cache[$rid] = array();
64 }elseif(!isset(self::$record_field_cache[$rid][$fid])){
67 return self::$record_field_cache[$rid][$fid];
77 switch($field->getDatatypeId()){
98 $field->setId($rec[
"id"]);
99 $field->setTableId($rec[
"table_id"]);
100 $field->setTitle($rec[
"title"]);
101 $field->setDescription($rec[
"description"]);
102 $field->setDatatypeId($rec[
"datatype_id"]);
103 $field->setRequired($rec[
"required"]);
104 $field->setUnique($rec[
"is_unique"]);
105 $field->setLocked($rec[
"is_locked"]);