mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +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 collection_id of the record
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
|
* @deprecated use {@link self::getCollectionId} instead.
|
||||||
*/
|
*/
|
||||||
public function get_collection_id()
|
public function get_collection_id()
|
||||||
|
{
|
||||||
|
return $this->getCollectionId();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getCollectionId()
|
||||||
{
|
{
|
||||||
return $this->collection_id;
|
return $this->collection_id;
|
||||||
}
|
}
|
||||||
@@ -1786,12 +1792,6 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritdoc} */
|
|
||||||
public function getCollectionId()
|
|
||||||
{
|
|
||||||
return $this->get_collection()->get_coll_id();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** {@inheritdoc} */
|
/** {@inheritdoc} */
|
||||||
public function getDataboxId()
|
public function getDataboxId()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user