__construct() public method

public __construct ( )
Exemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->dashboards = array();
 }
Exemplo n.º 2
0
 public function __construct($id = null)
 {
     parent::__construct($id);
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 public function __construct($sId)
 {
     parent::__construct($sId);
     $this->bCustomized = false;
     $this->oMetaModel = new ModelReflectionRuntime();
 }
Exemplo n.º 5
0
 /**
     Constructs a new Dashboard.
     @param string $title name of the dashboard.
     @return null
     **/
 public function __construct($title)
 {
     parent::__construct($title);
 }