method getTitle documentation in bbn\Appui\Task
function(string $idTask, bool $simple = false)
{
if ($title = $this->db->selectOne([
'table' => 'bbn_tasks',
'fields' => ['bbn_notes_versions.title'],
'join' => [[
'table' => 'bbn_notes_versions',
'on' => [
'conditions' => [[
'field' => 'bbn_notes_versions.id_note',
'exp' => 'bbn_tasks.id_note'
], [
'field' => 'bbn_notes_versions.latest',
'value' => 1
]]
]
]],
'where' => [
'conditions' => [[
'field' => 'bbn_tasks.id',
'value' => $idTask
]]
]
])) {
return (!empty($simple) ? (X::_("Task")." ") : '').$title;
}
return '';
}
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