76 $fid = $field->getId();
77 $rid = $record->getId();
78 if(!isset(self::$record_field_cache[$rid])){
79 self::$record_field_cache[$rid] = array();
81 }elseif(!isset(self::$record_field_cache[$rid][$fid])){
84 return self::$record_field_cache[$rid][$fid];
94 switch($field->getDatatypeId()){
112 $field->setId($rec[
"id"]);
113 $field->setTableId($rec[
"table_id"]);
114 $field->setTitle($rec[
"title"]);
115 $field->setDescription($rec[
"description"]);
116 $field->setDatatypeId($rec[
"datatype_id"]);
117 $field->setRequired($rec[
"required"]);
118 $field->setUnique($rec[
"is_unique"]);
119 $field->setLocked($rec[
"is_locked"]);