/** * @see DashletGenericChart::__construct() */ public function __construct($id, array $options = null) { if (empty($options['title'])) { $options['title'] = translate('LBL_MY_CLOSED_OPPORTUNITIES_GAUGE', 'Home'); } parent::__construct($id, $options); }
/** * @see DashletGenericChart::__construct() */ public function __construct($id, array $options = null) { global $timedate; if (empty($options['obm_date_start'])) { $options['obm_date_start'] = $timedate->nowDbDate(); } if (empty($options['obm_date_end'])) { $options['obm_date_end'] = $timedate->asDbDate($timedate->getNow()->modify("+6 months")); } parent::__construct($id, $options); }
/** * @see DashletGenericChart::__construct() */ public function __construct($id, array $options = null) { global $timedate; if (empty($options['obm_date_start'])) { $options['obm_date_start'] = date($timedate->get_db_date_time_format(), time()); } if (empty($options['obm_date_end'])) { $options['obm_date_end'] = date($timedate->get_db_date_time_format(), strtotime("+6 months", time())); } parent::__construct($id, $options); }
public function __construct($id, array $options = null) { global $timedate; if (empty($options['fcd_date_start'])) { $options['fcd_date_start'] = date($timedate->get_db_date_time_format(), time()); } if (empty($options['fcd_date_end'])) { $options['fcd_date_end'] = date($timedate->get_db_date_time_format(), time() + 86400 * 365); } parent::__construct($id, $options); }
/** * @see DashletGenericChart::__construct() */ public function __construct($id, array $options = null) { global $timedate; if (empty($options['pbss_date_start'])) { $options['pbss_date_start'] = $timedate->nowDbDate(); } if (empty($options['pbss_date_end'])) { $options['pbss_date_end'] = $timedate->asDbDate($timedate->getNow()->modify("+6 months")); } if (empty($options['title'])) { $options['title'] = translate('LBL_PIPELINE_FORM_TITLE', 'Home'); } parent::__construct($id, $options); }
/** * @see DashletGenericChart::__construct() */ public function __construct($id, array $options = null) { global $timedate; if (empty($options['mypbss_date_start'])) { $options['mypbss_date_start'] = date($timedate->get_db_date_time_format(), time()); } if (empty($options['mypbss_date_end'])) { $options['mypbss_date_end'] = date($timedate->get_db_date_time_format(), strtotime("+6 months", time())); } if (empty($options['title'])) { $options['title'] = translate('LBL_MY_PIPELINE_FORM_TITLE', 'Home'); } parent::__construct($id, $options); }
public function __construct($id, array $options = null) { require_once('modules/asol_Reports/include_basic/manageReportsFunctions.php'); parent::__construct($id,$options); $sDatabase = (isset($_REQUEST['sDatabase'])) ? $_REQUEST['sDatabase'] : "-1"; $sModule = (isset($_REQUEST['sModule'])) ? $_REQUEST['sModule'] : ""; $sScope = (isset($_REQUEST['sScope'])) ? $_REQUEST['sScope'] : ""; $sName = (isset($_REQUEST['sName'])) ? $_REQUEST['sName'] : ""; // Make a list of charts from the chartdef files require "modules/Charts/chartdefs.php"; if (file_exists("custom/Charts/chartDefs.ext.php")) require("custom/Charts/chartDefs.ext.php"); $this->chartDefs = $chartDefs; $this->_searchFields['which_chart']['options'] = asol_ReportsManagementFunctions::getFilteredReportList($sDatabase, $sModule, $sScope, $sName); }