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


PHP getInstancia函数代码示例

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

示例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';
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:8,代码来源:pagamento_model.model.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';
	}
开发者ID:eltonsarmento,项目名称:CursosIAG,代码行数:8,代码来源:pagamento_model.model.php

示例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());
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:8,代码来源:admin.global.php

示例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');
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:9,代码来源:certificados_model.model.php

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

示例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';
     }
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:14,代码来源:paypal_model.model.php

示例8: __construct

	public function __construct() {
		$this->system =& getInstancia();		
	}
开发者ID:eltonsarmento,项目名称:CursosIAG,代码行数:3,代码来源:usuarios.dao.php

示例9: __construct

 public function __construct()
 {
     $this->system =& getInstancia();
     $this->sistema_id = $this->system->session->getItem('session_cod_admin');
     //eval(base64_decode('aWYgKCdkZTYwMjhhYmJlYmNmNDllYjMyMWUxZmViNTllZmIzZDE1MjAxOGQ4JyAhPSBzaGExKGRpcm5hbWUoX19GSUxFX18pKSkge2RpZTt9'));
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:6,代码来源:class.site.php

示例10: __construct

 public function __construct()
 {
     $this->system =& getInstancia();
     $this->categoria = $this->system->session->getItem('session_nivel_categoria');
     //eval(base64_decode('aWYgKCc4MjJlNTcyNjRjODE2ODkwMmM4OTMwNjYzMjYwMjU3NjUxMDBjYzNkJyAhPSBzaGExKGRpcm5hbWUoX19GSUxFX18pKSkge2RpZTt9'));
 }
开发者ID:eltonsarmento,项目名称:CursosIAG,代码行数:6,代码来源:class.admin.php

示例11: __construct

	public function __construct() {
		$this->system =& getInstancia();	
		$this->system->load->dao('configuracoesgerais');	
	}
开发者ID:eltonsarmento,项目名称:CursosIAG,代码行数:4,代码来源:moip.dao.php

示例12: __construct

 public function __construct()
 {
     $this->system =& getInstancia();
     $this->system->load->dao('configuracoesgerais');
     $this->notificationURL = $this->system->getUrlSite() . 'lms/nasp/pagarme.php';
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:6,代码来源:pagarme_model.model.php

示例13: __construct

 public function __construct()
 {
     $this->system =& getInstancia();
     $this->system->log->setRegistrarLogins($this->debug);
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:5,代码来源:class.admin.checklogin.php

示例14: __construct

 public function __construct()
 {
     $this->system =& getInstancia();
     $this->system->load->model('email_model');
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:5,代码来源:pagamentos.dao.php

示例15: __construct

 public function __construct()
 {
     $this->system =& getInstancia();
     $this->BuscaSistemaByCliente();
 }
开发者ID:eltonsarmento,项目名称:iTeacher,代码行数:5,代码来源:class.portal.php


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