Extract repository and factory classes for collections

This commit is contained in:
Thibaud Fabre
2015-07-08 19:54:06 +02:00
parent dd73d6dae2
commit ea6a4fdbf0
43 changed files with 971 additions and 428 deletions

View File

@@ -300,7 +300,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
*/
public function get_collection()
{
return \collection::get_from_coll_id($this->app, $this->databox, $this->collection_id);
return \collection::getByCollectionId($this->app, $this->databox, $this->collection_id);
}
/**