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