method getPriceLog documentation in bbn\Appui\Task
function($id)
{
$this->exists($id) &&
($action_ins = $this->idAction('price_insert')) &&
($action_upd = $this->idAction('price_update'))
){
return $this->db->rselect([
'table' => 'bbn_tasks_logs',
'where' => [
'logic' => 'AND',
'conditions' => [[
'field' => 'id_task',
'operation' => '=',
'value' => $id
], [
'logic' => 'OR',
'conditions' => [[
'field' => 'action',
'operatort' => '=',
'value' => $action_ins
], [
'field' => 'action',
'operatort' => '=',
'value' => $action_upd
]]
]]
],
'order' => [[
'field' => 'chrono',
'dir' => 'DESC'
]]
]) ?: new \stdClass();
}
}
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-2022
BBN Solutions