public function __construct() { parent::__construct(); $this->dashboards = array(); }
public function __construct($id = null) { parent::__construct($id); }
function __construct() { parent::__construct('DirectorsDashboard'); $datetime = new DateTime(); self::$todayStamp = $datetime->format('Ymd'); try { $sql = 'SELECT * FROM daily_totals ORDER BY daystamp DESC LIMIT 0,1'; $res = DatabaseHandler::GetRow($sql); self::$lastStamp = intval($res['daystamp']); } catch (Exception $e) { } $this->postUnpostedDays(); $this->thirtydaydata = $this->processDays(30); $this->sevendaydata = $this->processDays(7); $this->yesterdaydata = $this->processDays(1); $this->todaydata = $this->processToday(); $this->processLatestProjects(); $this->processLatestInvoices(); $this->processLatestEnquiries(); //$this->processLatestMessages(); return $this; }
public function __construct($sId) { parent::__construct($sId); $this->bCustomized = false; $this->oMetaModel = new ModelReflectionRuntime(); }
/** Constructs a new Dashboard. @param string $title name of the dashboard. @return null **/ public function __construct($title) { parent::__construct($title); }