mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33: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 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()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user