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


PHP Modelo::__construct方法代碼示例

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


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

示例1: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'casos_usuarios';
     $this->index = 'id_caso';
     $this->columns = array('id_caso', 'id_usuario');
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:7,代碼來源:usuarios_casos.class.php

示例2: __construct

 public function __construct($cod_usu = NULL)
 {
     Modelo::__construct();
     if (func_num_args() == 1) {
         $this->cod_usu = $cod_usu;
     }
 }
開發者ID:natanverdes,項目名稱:ritmodecopas.es,代碼行數:7,代碼來源:musico.php

示例3: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'casos';
     $this->index = 'telefono';
     $this->singularName = 'comuna';
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:7,代碼來源:columnas_base.class.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'columnas_extra';
     $this->singularName = 'columna';
     $this->index = 'id_columna';
     $this->columns = array('columna');
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:8,代碼來源:columnas_extra.class.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'estados';
     $this->singularName = 'estado';
     $this->index = 'id_estado';
     $this->columns = array('estado', 'descripcion', 'visibilidad');
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:8,代碼來源:estados.class.php

示例6: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'generales';
     $this->singularName = 'general';
     $this->index = 'id_general';
     $this->columns = array('general', 'valor');
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:8,代碼來源:generales.class.php

示例7: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'usuarios';
     $this->singularName = 'usrname';
     $this->index = 'id_usuario';
     $this->columns = array('usrname', 'password', 'ip_estacion', 'num_cdr');
     $this->columnsXupdate = array('usrname', 'ip_estacion', 'num_cdr');
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:9,代碼來源:usuarios.class.php

示例8: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'columnas_visibilidad';
     $this->index = 'nombre_columna';
     $this->singularName = 'visibilidad';
     $this->columns = array('nombre_columna', 'visibilidad');
     $this->tableBase = 'casos';
     $this->indexBase = 'id_casos';
     $this->singularNameBase = 'telefono';
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:11,代碼來源:columnas_visibilidad.class.php

示例9: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'estados_acciones';
     $this->index = 'id_estado';
     $this->columns = array('id_estado', 'id_accion', 'prioridad');
     $this->tizq = 'estados';
     $this->tder = 'acciones';
     $this->indexIzq = 'id_estado';
     $this->indexDer = 'id_accion';
     $this->interes = ',estado, accion, prioridad';
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:12,代碼來源:estados_acciones.class.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     $this->table = 'roles_usuarios';
     $this->index = 'id_usuario';
     $this->columns = array('id_usuario', 'id_rol');
     $this->tizq = 'usuarios';
     $this->tder = 'roles';
     $this->indexIzq = 'id_usuario';
     $this->indexDer = 'id_rol';
     $this->interes = ',rol, usrname';
 }
開發者ID:alejandra-aravena,項目名稱:DesUC-Polls-Managment,代碼行數:12,代碼來源:roles_usuarios.class.php

示例11: __construct

 public function __construct($cod_usu = NULL)
 {
     parent::__construct();
     if (func_num_args() == 1) {
         $this->UsuDetails($cod_usu);
         switch ($this->nombre_tipo_usu) {
             case 'Fan':
                 $this->FuncionEspecial = new Fan($this->cod_usu);
                 break;
             case 'Local':
                 $this->FuncionEspecial = new Local($this->cod_usu);
                 break;
             case 'Músico':
                 $this->FuncionEspecial = new Musico($this->cod_usu);
                 break;
         }
     }
 }
開發者ID:natanverdes,項目名稱:ritmodecopas.es,代碼行數:18,代碼來源:usuario.php

示例12:

 function __construct()
 {
     parent::__construct();
     $this->nombre_tabla = "users";
 }
開發者ID:JimmyGuarin,項目名稱:Pure-Hobby-Programing-PF-PHP,代碼行數:5,代碼來源:Usuario.php

示例13:

 function __construct()
 {
     parent::__construct();
     $this->nombreTabla = "archivos";
 }
開發者ID:CDPS,項目名稱:proyecto,代碼行數:5,代碼來源:Archivos.php

示例14: CarroModelo

 function CarroModelo()
 {
     parent::__construct();
 }
開發者ID:sebastianext,項目名稱:concesionario,代碼行數:4,代碼來源:CarroModelo.php

示例15: SolicitudRentaModelo

 function SolicitudRentaModelo()
 {
     parent::__construct();
 }
開發者ID:sebastianext,項目名稱:concesionario,代碼行數:4,代碼來源:SolicitudRentaModelo.php


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