public __construct ( $parameter = null, $criteriaCoverage = null, $criteriaSamples = null, $id = null, $type = null, $CriterionType = null ) |
public function __construct() { parent::__construct(); $this->breadcrumbs[] = array('text' => 'App List', 'link' => '/apps/apps'); if (isset($sideNav_current)) { $this->smarty->assign('sideNav_current', $sideNav_current); } $this->tab_current = 'apps'; }
public function __construct() { parent::__construct(); if (!isset($_GET['end]']) && !isset($_GET['start']) && isset($_SESSION['start']) && isset($_SESSION['end'])) { $this->endDate = $_SESSION['end']; $this->startDate = $_SESSION['start']; } else { $this->endDate = isset($_GET['end']) ? $_GET['end'] : date('Y-m-d'); $this->startDate = isset($_GET['start']) ? $_GET['start'] : date('Y-m-d', strtotime('-7 day')); } $_SESSION['start'] = $this->startDate; $_SESSION['end'] = $this->endDate; fb($_SESSION); $this->selectedDate = '?start=' . $this->startDate . '&end=' . $this->endDate; $days = (strtotime($this->endDate, 0) - strtotime($this->startDate, 0)) / (60 * 60 * 24); if ($days < 2) { $this->interval = '+ 3hour'; } elseif ($days < 8) { $this->interval = '+ 1day'; } elseif ($days < 31) { $this->interval = '+ 3day'; } elseif ($days < 91) { $this->interval = '+ 15day'; } elseif ($days < 366) { $this->interval = '+ 30day'; } elseif ($days < 730) { $this->interval = '+ 60day'; } else { $this->interval = '+ ' . floor($days / 365) * 30 . 'day'; } fb("interval", $this->interval); $this->dateOptions = array('?start=' . date('Y-m-d', strtotime('-7 day')) . '&end=' . date('Y-m-d') => 'Last 7 days', '?start=' . date('Y-m-d', strtotime('-30 day')) . '&end=' . date('Y-m-d') => 'Last 30 days', '?start=' . date('Y-m-d', strtotime('-90 day')) . '&end=' . date('Y-m-d') => 'Last 90 days', '?start=' . date('Y-m-d', strtotime('-365 day')) . '&end=' . date('Y-m-d') => 'Last 365 days'); $this->breadcrumbs[] = array('text' => 'Reports', 'link' => '/reports/applicationReports'); $this->tab_current = 'reports'; $this->jsFiles[] = "/FusionCharts/FusionCharts.js"; }
public function __construct() { parent::__construct(); $this->breadcrumbs[] = array('text' => 'House Ads', 'link' => '/houseAds/houseAds'); $this->tab_current = 'houseAds'; }
public function __construct() { parent::__construct(); $this->jsFiles[] = "/js/validate.js"; $this->jsFiles[] = "/js/jquery.validate.min.js"; }
public function __construct(Escaper $escaper, HTML $html, Cipher $cipher) { parent::__construct($escaper, $html, $cipher); }