本文整理匯總了PHP中Input::create_text方法的典型用法代碼示例。如果您正苦於以下問題:PHP Input::create_text方法的具體用法?PHP Input::create_text怎麽用?PHP Input::create_text使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Input
的用法示例。
在下文中一共展示了Input::create_text方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __construct
public function __construct()
{
$this->id = Constrain::pk($this);
$this->enunciado = Input::create_text('enunciado');
$this->tipo = Input::create_select('tipo', array(self::CERRADA => 'Cerrada', self::ABIERTA => 'Abierta'));
$this->formulario_id = Constrain::fk('formulario_id', 'package1.formulario');
}
示例2: __construct
public function __construct()
{
$this->id = Constrain::pk($this);
$this->nombre = Input::create_text('nombre');
$this->fecha_creacion = Input::create_datetime('fecha_creacion');
$this->encuestador_id = Constrain::fk('encuestador_id', 'package1.encuestador');
$this->fecha_creacion->set(date("Y-m-d H:i:s"));
}
示例3: __construct
public function __construct()
{
$this->id = Constrain::pk($this);
$this->valor = Input::create_text('valor');
$this->user_id = Constrain::fk('user_id', 'package1.usuario');
$this->cerradura = Input::create_text('cerradura');
$this->pregunta_abierta_id = Constrain::fk('pregunta_abierta_id', 'package1.pregunta_abierta');
}
示例4: __construct
function __construct()
{
$this->id = Constrain::pk($this);
$this->username = Input::create_text('username');
$this->password = Input::create_password('password');
$this->hashtype = Input::create_hidden('hashtype');
$this->hashtype->set($this->hash_type());
$this->super = false;
}
示例5: __construct
public function __construct()
{
$this->id = Constrain::pk($this);
$this->sexo = Input::create_text('sexo');
$this->institucion = Input::create_text('institucion');
$this->labor = Input::create_text('labor');
$this->oficio = Input::create_text('oficio');
$this->user_id = Constrain::fk('user_id', 'package1.Usuario');
}
示例6: __construct
public function __construct()
{
$this->id = Constrain::pk($this);
$this->identificacion = Input::create_text('identificacion');
$this->nombres = Input::create_text('nombres');
$this->apellidos = Input::create_text('apellidos');
$this->telefono = Input::create_text('telefono');
$this->email = Input::create_text('email');
$this->direccion = Input::create_text('direccion');
}
示例7: __construct
public function __construct()
{
$this->id = Constrain::pk($this);
$this->valor = Input::create_text("valor");
$this->pregunta_cerrada_id = Constrain::fk('pregunta_cerrada_id', 'package1.pregunta_cerrada');
}