mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Deprecate get_collection_id instead of getCollectionId
This commit is contained in:
@@ -264,8 +264,14 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
* Return collection_id of the record
|
||||
*
|
||||
* @return int
|
||||
* @deprecated use {@link self::getCollectionId} instead.
|
||||
*/
|
||||
public function get_collection_id()
|
||||
{
|
||||
return $this->getCollectionId();
|
||||
}
|
||||
|
||||
public function getCollectionId()
|
||||
{
|
||||
return $this->collection_id;
|
||||
}
|
||||
@@ -1786,12 +1792,6 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
/** {@inheritdoc} */
|
||||
public function getCollectionId()
|
||||
{
|
||||
return $this->get_collection()->get_coll_id();
|
||||
}
|
||||
|
||||
/** {@inheritdoc} */
|
||||
public function getDataboxId()
|
||||
{
|
||||
|
Reference in New Issue
Block a user