本文整理匯總了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');
}
示例2: __construct
public function __construct($cod_usu = NULL)
{
Modelo::__construct();
if (func_num_args() == 1) {
$this->cod_usu = $cod_usu;
}
}
示例3: __construct
public function __construct()
{
parent::__construct();
$this->table = 'casos';
$this->index = 'telefono';
$this->singularName = 'comuna';
}
示例4: __construct
public function __construct()
{
parent::__construct();
$this->table = 'columnas_extra';
$this->singularName = 'columna';
$this->index = 'id_columna';
$this->columns = array('columna');
}
示例5: __construct
public function __construct()
{
parent::__construct();
$this->table = 'estados';
$this->singularName = 'estado';
$this->index = 'id_estado';
$this->columns = array('estado', 'descripcion', 'visibilidad');
}
示例6: __construct
public function __construct()
{
parent::__construct();
$this->table = 'generales';
$this->singularName = 'general';
$this->index = 'id_general';
$this->columns = array('general', 'valor');
}
示例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');
}
示例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';
}
示例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';
}
示例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';
}
示例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;
}
}
}
示例12:
function __construct()
{
parent::__construct();
$this->nombre_tabla = "users";
}
示例13:
function __construct()
{
parent::__construct();
$this->nombreTabla = "archivos";
}
示例14: CarroModelo
function CarroModelo()
{
parent::__construct();
}
示例15: SolicitudRentaModelo
function SolicitudRentaModelo()
{
parent::__construct();
}