当前位置: 首页>>代码示例>>PHP>>正文


PHP Report::__construct方法代码示例

本文整理汇总了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;
 }
开发者ID:alachaum,项目名称:timetrex,代码行数:7,代码来源:UserQualificationReport.class.php

示例2: __construct

 public function __construct($id)
 {
     parent::__construct($id);
     $this->month_fields = "";
     $this->month_fields_override = "";
     $this->month_fields_outlier = "";
 }
开发者ID:pontifechs,项目名称:reports,代码行数:7,代码来源:UsageStatisticsByTitles.php

示例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);
 }
开发者ID:openeyes,项目名称:openeyes,代码行数:10,代码来源:VisualOutcomeReport.php

示例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();
 }
开发者ID:jlbooker,项目名称:homestead,代码行数:26,代码来源:AssignmentDemographics.php

示例5: __construct

 public function __construct($id = 0)
 {
     parent::__construct($id);
     $this->total = 0;
     $this->male = 0;
     $this->female = 0;
     $this->data = array();
 }
开发者ID:jlbooker,项目名称:homestead,代码行数:8,代码来源:UnassignedFreshmen.php

示例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;
 }
开发者ID:alachaum,项目名称:timetrex,代码行数:8,代码来源:PayrollExportReport.class.php

示例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;
 }
开发者ID:jlbooker,项目名称:homestead,代码行数:10,代码来源:TwentyOne.php

示例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);
 }
开发者ID:openeyes,项目名称:openeyes,代码行数:13,代码来源:RefractiveOutcomeReport.php

示例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;
 }
开发者ID:jlbooker,项目名称:homestead,代码行数:13,代码来源:ApplicantDemographics.php

示例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();
 }
开发者ID:jlbooker,项目名称:homestead,代码行数:14,代码来源:EarlyRelease.php

示例11: __construct

 public function __construct($id)
 {
     parent::__construct($id);
     $this->month_fields = "";
 }
开发者ID:pontifechs,项目名称:reports,代码行数:5,代码来源:UsageStatisticsProviderRollup.php

示例12:

 function __construct()
 {
     parent::__construct();
 }
开发者ID:MaizerGomes,项目名称:opensourcepos,代码行数:4,代码来源:inventory_low.php

示例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();
 }
开发者ID:booko,项目名称:pasteque-server,代码行数:11,代码来源:Report.php

示例14: __construct

 public function __construct($id = 0)
 {
     parent::__construct($id);
     $this->rows = array();
 }
开发者ID:jlbooker,项目名称:homestead,代码行数:5,代码来源:RaReport.php

示例15: __construct

 public function __construct($id = 0)
 {
     parent::__construct($id);
     $this->hallCounts = array();
     $this->floorCounts = array();
 }
开发者ID:jlbooker,项目名称:homestead,代码行数:6,代码来源:AssignmentTypeByFloor.php


注:本文中的Report::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。