Introduce method for future
This commit is contained in:
parent
db903ad64d
commit
8c3b28b0d0
@ -70,6 +70,18 @@ abstract class DoliDB implements Database
|
||||
/** @var string */
|
||||
public $error;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Return the DB prefix
|
||||
*
|
||||
* @return string The DB prefix
|
||||
*/
|
||||
public function prefix()
|
||||
{
|
||||
return (empty($this->prefix_db) ? MAIN_DB_PREFIX : $this->prefix_db);
|
||||
}
|
||||
|
||||
/**
|
||||
* Format a SQL IF
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user