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


PHP Input::create_text方法代码示例

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

示例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"));
 }
开发者ID:exildev,项目名称:q-stad,代码行数:8,代码来源:Formulario.php

示例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');
 }
开发者ID:exildev,项目名称:q-stad,代码行数:8,代码来源:Respuesta_abierta.php

示例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;
 }
开发者ID:exildev,项目名称:q-stad,代码行数:9,代码来源:User.php

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

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

示例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');
 }
开发者ID:exildev,项目名称:q-stad,代码行数:6,代码来源:Respuesta_cerrada.php


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