本文整理汇总了PHP中getInstancia函数的典型用法代码示例。如果您正苦于以下问题:PHP getInstancia函数的具体用法?PHP getInstancia怎么用?PHP getInstancia使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getInstancia函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->categoria = $this->system->session->getItem('session_nivel_categoria');
$this->sistema_id = $this->system->session->getItem('session_cod_empresa');
//eval(base64_decode('JGRhZG9zID0gc3RhdChMSUJTX0RJUiAuICcvc2VjLmtleScpOyBpZiAoc2hhMSgkZGFkb3NbJ2F0aW1lJ10pICE9ICR0aGlzLT5zeXN0ZW0tPmdldEtleVNpdGUoKSkge2RpZTt9'));
}
示例2: __construct
public function __construct()
{
$this->system =& getInstancia();
//$this->moip = new Moip();
$this->system->load->dao('configuracoesgerais');
$this->notificationURLPagSeguro = $this->system->getUrlSite() . 'nasp/' . $this->system->session->getItem('session_cod_empresa') . '/pagseguro.php';
$this->notificationURLPagarMe = $this->system->getUrlSite() . 'nasp/' . $this->system->session->getItem('session_cod_empresa') . '/pagarme.php';
}
示例3: __construct
public function __construct() {
$this->system =& getInstancia();
$this->moip = new Moip();
$this->system->load->dao('configuracoesgerais');
$this->notificationURL = $this->system->getUrlSite() . 'lms/nasp/pagseguro.php';
//$this->notificationURL = 'http://requestb.in/rjglghrj';
}
示例4: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->pagina = (int) ($this->system->input['pagina'] ? $this->system->input['pagina'] : 1);
$this->mostrar = (int) ($this->system->input['mostrar'] ? $this->system->input['mostrar'] : $this->mostrar);
$this->inicial = ($this->pagina - 1) * $this->mostrar;
$this->system->view->assign('categoria', $this->system->admin->getCategoria());
}
示例5: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->system->load->dao('configuracoesgerais');
$this->system->load->dao('certificados');
$this->system->load->dao('cursos');
$this->system->load->dao('aulas');
$this->system->load->model('email_model');
}
示例6: __construct
public function __construct() {
$this->system =& getInstancia();
$this->system->load->dao('emails');
$this->system->load->dao('usuarios');
$this->system->load->dao('notificacoes');
$this->system->load->dao('alunos');
$this->system->load->dao('curso');
$this->system->load->dao('planos');
$this->system->load->dao('professores');
}
示例7: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->system->load->dao('configuracoesgerais');
if ($this->sandbox) {
$this->apiEndpoint = 'https://api-3t.sandbox.paypal.com/nvp';
//Para assinaturas, se fosse certificado seria https://api.sandbox.paypal.com/nvp
$this->paypalURL = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
} else {
$this->apiEndpoint = 'https://api-3t.paypal.com/nvp';
//Para assinaturas, se fosse certificado seria https://api.paypal.com/nvp
$this->paypalURL = 'https://www.paypal.com/cgi-bin/webscr';
}
}
示例8: __construct
public function __construct() {
$this->system =& getInstancia();
}
示例9: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->sistema_id = $this->system->session->getItem('session_cod_admin');
//eval(base64_decode('aWYgKCdkZTYwMjhhYmJlYmNmNDllYjMyMWUxZmViNTllZmIzZDE1MjAxOGQ4JyAhPSBzaGExKGRpcm5hbWUoX19GSUxFX18pKSkge2RpZTt9'));
}
示例10: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->categoria = $this->system->session->getItem('session_nivel_categoria');
//eval(base64_decode('aWYgKCc4MjJlNTcyNjRjODE2ODkwMmM4OTMwNjYzMjYwMjU3NjUxMDBjYzNkJyAhPSBzaGExKGRpcm5hbWUoX19GSUxFX18pKSkge2RpZTt9'));
}
示例11: __construct
public function __construct() {
$this->system =& getInstancia();
$this->system->load->dao('configuracoesgerais');
}
示例12: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->system->load->dao('configuracoesgerais');
$this->notificationURL = $this->system->getUrlSite() . 'lms/nasp/pagarme.php';
}
示例13: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->system->log->setRegistrarLogins($this->debug);
}
示例14: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->system->load->model('email_model');
}
示例15: __construct
public function __construct()
{
$this->system =& getInstancia();
$this->BuscaSistemaByCliente();
}