method getFullHistory documentation in bbn\Db\History
function(string $table, string $id)
{
$r = [];
if ($where = $this->_get_table_where($table)) {
$tab = $this->db->escape($this->getHistoryTableName());
$line = $this->db->escape($this->getHistoryTableColumnName('uid'));
$chrono = $this->db->escape($this->getHistoryTableColumnName('tst'));
$sql = <<< MYSQL
SELECT *
FROM $tab
WHERE $line = ?
AND ($where)
ORDER BY $chrono ASC
MYSQL;
$r = $this->db->getRows($sql, hex2bin($id));
}
return $r;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions