mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Add \record_adapter::get_collection method
This commit is contained in:
@@ -327,6 +327,16 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
|||||||
return $this->base_id;
|
return $this->base_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return record collection
|
||||||
|
*
|
||||||
|
* @return \collection
|
||||||
|
*/
|
||||||
|
public function get_collection()
|
||||||
|
{
|
||||||
|
return \collection::get_from_base_id($this->base_id);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* return recor_id of the record
|
* return recor_id of the record
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user