Deprecate get_base_id in favor of getBaseId

This commit is contained in:
Benoît Burnichon
2015-07-13 18:19:42 +02:00
parent c97eedd40f
commit 8d4cf71d6d

View File

@@ -248,8 +248,14 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
* Return base_id of the record * Return base_id of the record
* *
* @return int * @return int
* @deprecated use {@link self::getBaseId} instead.
*/ */
public function get_base_id() public function get_base_id()
{
return $this->getBaseId();
}
public function getBaseId()
{ {
return $this->base_id; return $this->base_id;
} }
@@ -1780,12 +1786,6 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
return $this; return $this;
} }
/** {@inheritdoc} */
public function getBaseId()
{
return $this->get_base_id();
}
/** {@inheritdoc} */ /** {@inheritdoc} */
public function getCollectionId() public function getCollectionId()
{ {