45 return $this->db->getData($query, $callback,
$params);
52 return $this->db->getDataRow($query, $callback,
$params);
59 return $this->db->insertData($query,
$params);
66 return $this->db->updateData($query, $getNumRows,
$params);
73 return $this->db->deleteData($query,
$params);
81 if (function_exists(
'elgg_deprecated_notice')) {
84 return $this->db->prefix;
91 return $this->db->sanitizeInt(
$value, $signed);
98 return $this->db->sanitizeString(
$value);
108 if (
$name ===
'prefix') {
109 return $this->db->prefix;
112 throw new \RuntimeException(
"Cannot read property '$name'");
123 throw new \RuntimeException(
"Cannot write property '$name'");
133 return $this->db->fingerprintCallback($callback);
143 $this->db->setTimer($timer);
153 $this->db->setLogger($logger);
163 $this->db->setupConnections();
173 $this->db->connect(
$type);
183 $this->db->runSqlScript($scriptlocation);
203 $this->db->executeDelayedQueries();
213 $this->db->enableQueryCache();
223 $this->db->disableQueryCache();
233 $this->db->assertInstalled();
243 return $this->db->getQueryCount();
253 return $this->db->getServerVersion(
$type);
__construct(ElggDb $db)
Constructor.
fingerprintCallback($callback)
{}
if($guid==elgg_get_logged_in_user_guid()) $name
getDataRow($query, $callback= '', array $params=[])
{}
setLogger(Logger $logger)
{}
runSqlScript($scriptlocation)
{}
insertData($query, array $params=[])
{}
Capture timing info for profiling.
getServerVersion($type)
{}
sanitizeInt($value, $signed=true)
{}
registerDelayedQuery($query, $type, $handler="", array $params=[])
{}
deleteData($query, array $params=[])
{}
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
__set($name, $value)
Handle magic property writes.
updateData($query, $getNumRows=false, array $params=[])
{}
__get($name)
Handle magic property reads.
executeDelayedQueries()
{}
http free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use
getData($query, $callback= '', array $params=[])
{}
connect($type="readwrite")
{}