本文整理汇总了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');
}