當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。