public function getBy($model, $field, $cond = UNDEFINED, $value = UNDEFINED)
{
$condition_freeze = $model->_table[$this->short_name]['conditions'];
$data_freeze = $model->data;
$id_freeze = $model->id;
$this->addCondition($model, $field, $cond, $value);
$this->loadAny($model);
$result = $model->data;
$model->_table[$this->short_name]['conditions'] = $condition_freeze;
$model->data = $data_freeze;
$model->id = $id_freeze;
return $result;
}