本文整理汇总了PHP中Report::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Report::__construct方法的具体用法?PHP Report::__construct怎么用?PHP Report::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Report
的用法示例。
在下文中一共展示了Report::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
$this->title = TTi18n::getText('Qualification Summary Report');
$this->file_name = 'qualification_summary_report';
parent::__construct();
return TRUE;
}
示例2: __construct
public function __construct($id)
{
parent::__construct($id);
$this->month_fields = "";
$this->month_fields_override = "";
$this->month_fields_outlier = "";
}
示例3: __construct
/**
* @param $app
*/
public function __construct($app)
{
$this->months = $app->getRequest()->getQuery('months', 4);
$this->method = $app->getRequest()->getQuery('method', 'best');
$this->type = $app->getRequest()->getQuery('type', 'distance');
parent::__construct($app);
}
示例4: __construct
public function __construct($id = 0)
{
parent::__construct($id);
$this->hallSummaries = array();
$this->studentTypes = array(TYPE_FRESHMEN, TYPE_TRANSFER, TYPE_CONTINUING, 'OTHER');
$this->classes = array(CLASS_FRESHMEN, CLASS_SOPHOMORE, CLASS_JUNIOR, CLASS_SENIOR);
$this->genders = array(MALE, FEMALE);
$this->hallSummaries = array();
// Array of halls containing counts by type/class/gender
$this->grandTotals = array();
// totals over all halls by type/class/gender
$this->initializeArray($this->grandTotals);
$this->genderTotals = array();
// totals by gender
$this->typeTotals = array();
// totals by student stype
// Initalize the array for totals by gender
foreach ($this->genders as $g) {
$this->grandTotalsByGender[$g] = 0;
}
// Initalize the array for totals by student type
foreach ($this->studentTypes as $t) {
$this->grandTotalsByType[$t] = 0;
}
$this->problems = array();
}
示例5: __construct
public function __construct($id = 0)
{
parent::__construct($id);
$this->total = 0;
$this->male = 0;
$this->female = 0;
$this->data = array();
}
示例6: __construct
function __construct()
{
$this->title = TTi18n::getText('Payroll Export Report');
$this->file_name = 'payroll_export';
//Don't call TimesheetSummaryReport __construct(), skip one level lower to the Report class instead.
Report::__construct();
return TRUE;
}
示例7: __construct
public function __construct($id = 0)
{
parent::__construct($id);
$this->rows = array();
$this->totalCurrOccupancy = 0;
$this->totalMales = 0;
$this->totalFemales = 0;
$this->totalMalePercent = 0;
$this->totalFemalePercent = 0;
}
示例8: __construct
/**
* @param $app
*/
public function __construct($app)
{
$this->months = $app->getRequest()->getQuery('months', 0);
$this->procedures = $app->getRequest()->getQuery('procedures', array());
//if they selected all set to empty array to ignore procedure check in query
if (in_array('all', $this->procedures)) {
$this->procedures = array();
}
parent::__construct($app);
}
示例9: __construct
public function __construct($id = 0)
{
parent::__construct($id);
$this->applicationTotals = array();
$this->typeTotals = array();
$this->maleSubTotal = 0;
$this->femaleSubTotal = 0;
$this->cancelledTotals = array();
$this->cancelledSubTotal = 0;
$this->femaleGrandTotal = 0;
$this->maleGrandTotal = 0;
$this->total = 0;
}
示例10: __construct
public function __construct($id = 0)
{
parent::__construct($id);
$this->total = 0;
$this->transferTotal = 0;
$this->gradTotal = 0;
$this->teachingTotal = 0;
$this->internTotal = 0;
$this->withdrawTotal = 0;
$this->marriageTotal = 0;
$this->abroadTotal = 0;
$this->internationTotal = 0;
$this->data = array();
}
示例11: __construct
public function __construct($id)
{
parent::__construct($id);
$this->month_fields = "";
}
示例12:
function __construct()
{
parent::__construct();
}
示例13: __construct
public function __construct($domain, $id, $title, $sqls, $headers, $fields, $mergeFields)
{
parent::__construct($domain, $id, $title, $sqls[0], $headers, $fields);
$this->sqls = array_slice($sqls, 1);
$this->mergeFields = $mergeFields;
$this->mergedTotals = array();
$this->mergedSubtotals = array();
$this->mergedFilters = array();
$this->mergedVisualFilters = array();
$this->mergedHeaderFilters = array();
}
示例14: __construct
public function __construct($id = 0)
{
parent::__construct($id);
$this->rows = array();
}
示例15: __construct
public function __construct($id = 0)
{
parent::__construct($id);
$this->hallCounts = array();
$this->floorCounts = array();
}