method isReplaced documentation in bbn\Appui\Planning
Checks if the staff event is replaced on the given day
function(string $id_planning, string $day)
{
$t =& $this;
return (bool)array_filter($this->getAllByAlias($id_planning), function($a) use($day, $t){
return $a[$t->fields['alias']] === date('Y-m-d', strtotime($day));
});
}
Checks if the staff event is replaced on the given day 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