18. §ª§ß§ä§Ö§â§æ§Ö§Û§ã §Þ§Ñ§á§á§Ö§â§Ñ
interface Geometria_Model_Mapper_Interface
{
public function create(Geometria_Model $model);
public function update(Geometria_Model $model);
public function delete(Geometria_Model $model);
public function fetchOne($cond, $sort);
public function fetchAll($cond, $sort, $limit, $skip);
public function getCount($cond);
}
23. §¹§ä§à §Ó§Ö§â§ß§Ö§ä fetchAll()? §¬§à§Ý§Ý§Ö§Ü§è§Ú§ð!
? §Ñ§ß§Ñ§Ý§à§Ô Zend_Db_Table_Rowset
? §±§Ñ§ä§ä§Ö§â§ß Record Set
? §±§à§Ù§Ó§à§Ý§ñ§Ö§ä §Ó§í§á§à§Ý§ß§ñ§ä§î §Þ§Ñ§ã§ã§à§Ó§í§Ö §Õ§Ö§Û§ã§ä§Ó§Ú§ñ §ã §ß§Ñ§Ò§à§â§à§Þ
§Þ§à§Õ§Ö§Ý§Ö§Û
interface Geometria_Model_Collection_Interface
extends Iterator, Countable
{
public function append(Geometria_Model $model);
public function prepend(Geometria_Model $model);
public function populate(array $data);
public function clear();
public function toArray();
}