本文整理汇总了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'];
}
示例2: Payment
function __construct()
{
parent::__construct();
$this->payment = new Payment();
$this->invoice = new Invoices();
$this->db = new pdo_db();
}
示例3:
function __construct()
{
global $COURSE;
parent::__construct();
$this->courseid = $COURSE->id;
$this->labels_path = $_SERVER['DOCUMENT_ROOT'] . '/print';
$this->create_scheduler_data();
}
示例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();
}
示例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';
}
示例6:
function __construct()
{
parent::__construct();
}
示例7:
function __construct()
{
parent::__construct();
$this->sources = $this->get_users_sources();
$this->states = $this->get_user_states();
}
示例8:
/**
* Constuctor
*/
function __construct()
{
parent::__construct('Geolocation for IP', 'module_icons/geoip.png');
}
示例9:
function __construct()
{
parent::__construct();
$this->host = $_SERVER['SERVER_NAME'];
$this->slides_path = $_SERVER['DOCUMENT_ROOT'] . '/assets/slides';
}
示例10:
function __construct()
{
parent::__construct();
$this->create_courses_data();
$this->create_installment_users_data();
}
示例11: Invoices
function __construct()
{
parent::__construct();
$this->invoice = new Invoices();
}
示例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);
}
示例13:
function __construct()
{
parent::__construct();
$this->cert_path = $_SERVER['DOCUMENT_ROOT'] . '/lms/custom/certificates';
$this->invoice_path = $_SERVER['DOCUMENT_ROOT'] . '/lms/custom/invoices';
}
示例14:
function __construct($id)
{
parent::__construct();
$this->category_id = $id;
}
示例15: Certificates
function __construct()
{
parent::__construct();
$this->cert = new Certificates();
}