Deprecate get_collection_id instead of getCollectionId

This commit is contained in:
Benoît Burnichon
2015-07-13 18:22:21 +02:00
parent 8d4cf71d6d
commit ff7801132d

View File

@@ -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()
{