method __construct documentation in bbn\Cron\Manager

Manager constructor.

function(bbn\Db $db, array $cfg = []) { if (bbn\Mvc::getDataPath() && $db->check()) { // It must be called from a plugin (appui-cron actually) //$this->path = BBN_DATA_PATH.'plugins/appui-cron/'; $this->path = bbn\Mvc::getDataPath('appui-cron'); $this->db = $db; $this->table = $this->prefix.'cron'; } }

Manager constructor. BBN is a suite of PHP and JS libraries and VueJS components - all open-source!, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.