method getSendings documentation in bbn\Appui\Mailing
Get the next mailings rows to be sent
function()
{
return $this->db->rselectAll(
[
'table' => 'bbn_emailings',
'fields' => ['id', 'title', 'sent', 'state'],
'join' => [
[
'table' => 'bbn_notes_versions',
'on' => [
'conditions' => [
[
'field' => 'bbn_notes_versions.id_note',
'exp' => 'bbn_emailings.id_note'
], [
'field' => 'bbn_notes_versions.version',
'exp' => 'bbn_emailings.version'
]
]
]
]
],
'where' => [
['state', '=', 'sending']
],
'order' => [
'sent' => 'DESC'
]
]
);
}
Get the next mailings rows to be sent 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