getTable(); } function getDeleteWhere() { return ''; } function getField($key) { return $key; } function getIteratorClass() { $ret = substr_utf(get_class($this), 0, -10) . 'Iterator'; if (!class_exists($ret)) { $ret = 'FARecordSet'; } return $ret; } function getKey($field) { return $field; } function getModelName() { return substr_utf(get_class($this), 0, -10); } function getPrimaryKey() { assert(FALSE); } function getSelectFields() { return '*'; } function getSelectExtra() { return ''; } function getSelectTables() { return $this->getTable(); } function getSelectWhere() { return ''; } function getTable() { assert(FALSE); } function getRecordClass() { $ret = substr_utf(get_class($this), 0, -10) . 'Record'; if (!class_exists($ret)) { $ret = 'FARecord'; } return $ret; } function getUpdateExtra() { return ''; } function getUpdateTables() { return '`'.$this->getTable().'`'; } function getUpdateWhere() { return ''; } function setBaseCriteria(&$validator) { foreach ($this->_constraints as $field => $regex) { $validator->addCriteria(new FARecordRegexCriteria($field, $regex)); } } function setExtraCriteria(&$validator) { } function getSelectOrderby() { } function getSelectGroupBy() { } } ?>