method getFullHistory documentation in bbn\Appui\History
function(string $table, string $id)
{
$r = [];
if (
($db = self::_get_db()) &&
($where = self::_get_table_where($table))
){
$tab = $db->escape(self::$table);
$line = $db->escape('uid');
$chrono = $db->escape('tst');
$sql = <<< MYSQL
SELECT *
FROM $tab
WHERE $line = ?
AND ($where)
ORDER BY $chrono ASC
MYSQL;
$r = $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-2023
BBN Solutions