36 #[\ReturnTypeWillChange] 44 #[\ReturnTypeWillChange] 50 $result = $this->db->getDataRow($select);
58 #[\ReturnTypeWillChange] 70 return $this->db->updateData($update);
82 $this->db->insertData($insert);
89 #[\ReturnTypeWillChange] 97 #[\ReturnTypeWillChange] 102 $this->db->deleteData(
$delete);
110 #[\ReturnTypeWillChange] 111 public function gc($max_lifetime) {
115 return (
bool) $this->db->deleteData(
$delete);
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
if(!$user||!$user->canDelete()) $name
static table($table, $alias=null)
{}
trait TimeUsing
Adds methods for setting the current time (for testing)
getCurrentTime($modifier= '')
Get the (cloned) time.
if(!$entity instanceof\ElggUser) $data
static intoTable($table)
{}
__construct(Database $db)
Constructor.
const ELGG_VALUE_TIMESTAMP
static fromTable($table, $alias=null)
{}
Database session handler.
$id
Generic annotation delete action.
static fromTable($table, $alias=null)
{}