當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Util::__construct方法代碼示例

本文整理匯總了PHP中Util::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Util::__construct方法的具體用法?PHP Util::__construct怎麽用?PHP Util::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Util的用法示例。


在下文中一共展示了Util::__construct方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

 function __construct()
 {
     parent::__construct();
     $this->cert_path = $_SERVER['DOCUMENT_ROOT'] . '/lms/custom/certificates';
     //$this->cert_path = $_SERVER['DOCUMENT_ROOT'] . '/lms/custom/my_dir/certificates';
     $this->host = $_SERVER['SERVER_NAME'];
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:7,代碼來源:Certificates.php

示例2: Payment

 function __construct()
 {
     parent::__construct();
     $this->payment = new Payment();
     $this->invoice = new Invoices();
     $this->db = new pdo_db();
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:7,代碼來源:Partial.php

示例3:

 function __construct()
 {
     global $COURSE;
     parent::__construct();
     $this->courseid = $COURSE->id;
     $this->labels_path = $_SERVER['DOCUMENT_ROOT'] . '/print';
     $this->create_scheduler_data();
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:8,代碼來源:Schedule.php

示例4:

 function __construct()
 {
     parent::__construct();
     $this->resolution_path = 'https://' . $_SERVER['SERVER_NAME'] . '/lms/custom/my/get_screen_resolution.php';
     $this->resolution_path2 = $_SERVER['SERVER_NAME'];
     $this->assignment_module = 1;
     $this->assesment_path = $_SERVER['DOCUMENT_ROOT'] . "/lms/custom/my";
     $this->create_programs_data();
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:9,代碼來源:Dashboard.php

示例5:

 function __construct()
 {
     parent::__construct();
     $this->cert_path = $_SERVER['DOCUMENT_ROOT'] . '/lms/custom/certificates';
     $this->files_path = $_SERVER['DOCUMENT_ROOT'] . '/lms/custom/reports/files';
     $this->card_report_csv_file = 'card_payments.csv';
     $this->cash_report_scv_file = 'cash_payments_csv';
     $this->cheque_report_csv_file = 'cheque_payment.csv';
     $this->refund_report_csv_file = 'refund_payments.csv';
     $this->invoice_report_csv_file = 'invoice_payments.csv';
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:11,代碼來源:Report.php

示例6:

 function __construct()
 {
     parent::__construct();
 }
開發者ID:agldiego,項目名稱:salud,代碼行數:4,代碼來源:Horario.class.php

示例7:

 function __construct()
 {
     parent::__construct();
     $this->sources = $this->get_users_sources();
     $this->states = $this->get_user_states();
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:6,代碼來源:Stats.php

示例8:

 /**
  * Constuctor
  */
 function __construct()
 {
     parent::__construct('Geolocation for IP', 'module_icons/geoip.png');
 }
開發者ID:sledgehammer,項目名稱:geoip,代碼行數:7,代碼來源:GeoIPLookupUtil.php

示例9:

 function __construct()
 {
     parent::__construct();
     $this->host = $_SERVER['SERVER_NAME'];
     $this->slides_path = $_SERVER['DOCUMENT_ROOT'] . '/assets/slides';
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:6,代碼來源:Index.php

示例10:

 function __construct()
 {
     parent::__construct();
     $this->create_courses_data();
     $this->create_installment_users_data();
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:6,代碼來源:Installment.php

示例11: Invoices

 function __construct()
 {
     parent::__construct();
     $this->invoice = new Invoices();
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:5,代碼來源:Promotion.php

示例12: array

 function __construct()
 {
     parent::__construct();
     $this->modulos = array(array('Administración de Usuarios y Perfiles', USUARIOS), array('Configuración', CONFIGURACION), array('Citas', CITAS), array('Consultas', CONSULTAS), array('Admision', ADMISION), array('Reportes', REPORTES));
     sort($this->modulos);
 }
開發者ID:agldiego,項目名稱:sitio,代碼行數:6,代碼來源:Modulo.class.php

示例13:

 function __construct()
 {
     parent::__construct();
     $this->cert_path = $_SERVER['DOCUMENT_ROOT'] . '/lms/custom/certificates';
     $this->invoice_path = $_SERVER['DOCUMENT_ROOT'] . '/lms/custom/invoices';
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:6,代碼來源:Import.php

示例14:

 function __construct($id)
 {
     parent::__construct();
     $this->category_id = $id;
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:5,代碼來源:Map.php

示例15: Certificates

 function __construct()
 {
     parent::__construct();
     $this->cert = new Certificates();
 }
開發者ID:sirromas,項目名稱:medical,代碼行數:5,代碼來源:update.php


注:本文中的Util::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。