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


PHP DataEdit::post_process方法代码示例

本文整理汇总了PHP中DataEdit::post_process方法的典型用法代码示例。如果您正苦于以下问题:PHP DataEdit::post_process方法的具体用法?PHP DataEdit::post_process怎么用?PHP DataEdit::post_process使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在DataEdit的用法示例。


在下文中一共展示了DataEdit::post_process方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit($this->tits, 'rv_modelo');
     $edit->back_url = site_url($this->url . "filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->id = new inputField('Ref', 'id');
     $edit->id->rule = 'max_length[11]';
     $edit->id->size = 13;
     $edit->id->maxlength = 11;
     $edit->id->mode = 'autohide';
     $edit->id->when = array('show', 'modify');
     $edit->id_marca = new dropDownField('Marca', 'id_marca');
     $edit->id_marca->options("SELECT id,descrip FROM rv_marca ORDER BY descrip");
     $edit->descrip = new inputField('Descripcion', 'descrip');
     $edit->descrip->rule = 'max_length[100]';
     $edit->descrip->size = 40;
     $edit->descrip->maxlength = 100;
     $edit->buttons('add', 'modify', 'save', 'undo', 'delete', 'back');
     $edit->build();
     $data['content'] = $edit->output;
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = $this->tits;
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:27,代码来源:rv_modelo.php

示例2: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit($this->tits, 'su_conc');
     $edit->back_url = site_url($this->url . "filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->id = new inputField('id', 'id');
     $edit->id->rule = 'max_length[10]';
     $edit->id->size = 12;
     $edit->id->maxlength = 10;
     $edit->id->mode = "autohide";
     $edit->id->when = array('show', 'modify');
     $edit->descrip = new textareaField('Descripcion', 'descrip');
     $edit->descrip->cols = 70;
     $edit->descrip->rows = 4;
     $edit->tipo = new dropdownField('Tipo', 'tipo');
     $edit->tipo->option("E", "Entrada");
     $edit->tipo->option("S", "Salida");
     $edit->buttons('add', 'modify', 'save', 'undo', 'delete', 'back');
     $edit->build();
     $data['content'] = $edit->output;
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = $this->tits;
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:27,代码来源:su_conc.php

示例3: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit($this->tits, 'edifubica');
     $edit->back_url = site_url($this->url . 'filteredgrid');
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->pre_process('insert', '_pre_insert');
     $edit->pre_process('update', '_pre_update');
     $edit->pre_process('delete', '_pre_delete');
     $edit->id_edif = new dropdownField('Edificación', 'id_edif');
     $edit->id_edif->option('', 'Seleccionar');
     $edit->id_edif->options('SELECT id,TRIM(nombre) AS nombre FROM edif ORDER BY nombre');
     $edit->id_edif->rule = 'max_length[11]';
     $edit->descripcion = new inputField('Descripción', 'descripcion');
     $edit->descripcion->rule = 'max_length[50]';
     $edit->descripcion->size = 52;
     $edit->descripcion->maxlength = 50;
     $edit->buttons('modify', 'save', 'undo', 'delete', 'back', 'add');
     $edit->build();
     $data['content'] = $edit->output;
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = heading($this->tits);
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:26,代码来源:edifubica.php

示例4: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Cierre Plan de cuenta", "cplacierre");
     $edit->back_url = "contabilidad/cplacierre";
     //		$edit->pre_process('delete','_pre_del');
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->cuenta = new inputField("Cuenta", "cuenta");
     $edit->cuenta->rule = "trim|required|existecpla";
     $edit->cuenta->mode = "autohide";
     $edit->cuenta->size = 20;
     $edit->cuenta->maxlength = 15;
     $edit->descrip = new inputField("Descripción", "descrip");
     $edit->descrip->rule = "strtoupper|required";
     $edit->descrip->size = 45;
     $edit->descrip->maxlength = 35;
     $edit->anno = new dateonlyField("Año", "anno", "Y");
     $edit->anno->rule = "strtoupper|required";
     $edit->anno->size = 15;
     $edit->anno->maxlength = 15;
     $edit->monto = new inputField("Monto", "monto");
     $edit->monto->rule = "strtoupper|required";
     $edit->monto->size = 15;
     $edit->monto->maxlength = 15;
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data["head"] = $this->rapyd->get_head();
     $data['title'] = '<h1>Cierre Plan de Cuentas</h1>';
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:33,代码来源:cplacierre.php

示例5: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit($this->tits, 'casise');
     $edit->back_url = site_url($this->url . "filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->id = new inputField('Referencia', 'id');
     $edit->id->mode = 'autohide';
     $edit->id->when = array('show');
     $edit->ano = new inputField('A&ntilde;o', 'ano');
     $edit->ano->value = $this->datasis->traevalor("EJERCICIO");
     $edit->ano->size = 4;
     $edit->mes = new dropdownField("Mes", 'mes');
     for ($i = 1; $i <= 12; ++$i) {
         $edit->mes->option(str_pad($i, 2, "0", STR_PAD_LEFT), str_pad($i, 2, "0", STR_PAD_LEFT));
     }
     $edit->mes->mode = "autohide";
     $edit->mes->rule = "required";
     $edit->buttons('add', 'modify', 'save', 'undo', 'delete', 'back');
     $edit->build();
     $data['content'] = $edit->output;
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = $this->tits;
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:27,代码来源:casise.php

示例6: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit('Grupos de Gastos', 'grga');
     $edit->back_url = site_url('finanzas/grga/filteredgrid');
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->grupo = new inputField("Grupo", "grupo");
     $edit->grupo->mode = "autohide";
     $edit->grupo->size = 6;
     $edit->grupo->rule = "trim|required|callback_chexiste";
     $edit->grupo->maxlength = 5;
     $edit->nom_grup = new inputField("Nombre del Grupo", "nom_grup");
     $edit->nom_grup->size = 35;
     $edit->nom_grup->rule = "trim|required";
     $edit->nom_grup->maxlength = 25;
     $edit->cu_inve = new inputField("Cuenta Contable", "cu_inve");
     $edit->cu_inve->size = 18;
     $edit->cu_inve->maxlength = 15;
     $edit->cu_inve->rule = "trim|callback_chcuentac";
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Grupos de Gastos</h1>";
     $data["head"] = script("jquery.pack.js") . script("plugins/jquery.numeric.pack.js") . script("plugins/jquery.floatnumber.js") . $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:28,代码来源:grga.php

示例7: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit($this->tits, 'local');
     $edit->back_url = site_url($this->url . "filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->codigo = new inputField('C&oacute;digo', 'codigo');
     $edit->codigo->rule = 'trim|max_length[2]|unique|required';
     $edit->codigo->size = 4;
     $edit->codigo->maxlength = 2;
     $edit->codigo->mode = 'autohide';
     $edit->codigo->when = array('create', 'show', 'modify');
     $edit->nombre = new inputField('Nombre', 'nombre');
     $edit->nombre->rule = 'max_length[20]';
     $edit->nombre->size = 22;
     $edit->nombre->maxlength = 20;
     $edit->buttons('add', 'modify', 'save', 'undo', 'delete', 'back');
     $edit->build();
     $data['content'] = $edit->output;
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = $this->tits;
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:25,代码来源:local.php

示例8: dataedit

    function dataedit()
    {
        $this->rapyd->load("dataedit");
        $script = '
		$(function() {
			$(".inputnum").numeric(".");
		});
		';
        $edit = new DataEdit("Cargos", "carg");
        $edit->back_url = "nomina/carg/filteredgrid";
        $edit->script($script, "create");
        $edit->script($script, "modify");
        $edit->post_process('insert', '_post_insert');
        $edit->post_process('update', '_post_update');
        $edit->post_process('delete', '_post_delete');
        $edit->cargo = new inputField("Cargo", "cargo");
        $edit->cargo->rule = "required|callback_chexiste";
        $edit->cargo->mode = "autohide";
        $edit->cargo->maxlength = 8;
        $edit->cargo->size = 10;
        $edit->descrip = new inputField("Descripci&oacute;n", "descrip");
        $edit->descrip->size = 40;
        $edit->descrip->maxlength = 30;
        $edit->descrip->rule = "strtoupper|required";
        $edit->sueldo = new inputField("Sueldo", "sueldo");
        $edit->sueldo->size = 20;
        $edit->sueldo->rule = "required|callback_positivo";
        $edit->sueldo->css_class = 'inputnum';
        $edit->buttons("modify", "save", "undo", "delete", "back");
        $edit->build();
        $data['content'] = $edit->output;
        $data['title'] = "<h1>Cargos</h1>";
        $data["head"] = script("jquery.pack.js") . script("plugins/jquery.numeric.pack.js") . script("plugins/jquery.floatnumber.js") . $this->rapyd->get_head();
        $this->load->view('view_ventanas', $data);
    }
开发者ID:codethics,项目名称:proteoerp,代码行数:35,代码来源:carg.php

示例9: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit($this->tits, 'r_sector');
     $edit->back_url = site_url($this->url . "filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->id = new inputField('Id', 'id');
     $edit->id->rule = 'trim';
     $edit->id->size = 13;
     $edit->id->maxlength = 11;
     $edit->id->mode = 'autohide';
     $edit->id->when = array('show', 'modify');
     $edit->descrip = new inputField('Descrip', 'descrip');
     $edit->descrip->rule = 'trim';
     $edit->descrip->size = 40;
     $edit->descrip->maxlength = 100;
     $edit->monto = new inputField('Monto', 'monto');
     $edit->monto->rule = 'max_length[19]|numeric';
     $edit->monto->css_class = 'inputnum';
     $edit->monto->size = 10;
     $edit->monto->maxlength = 19;
     $edit->buttons('add', 'modify', 'save', 'undo', 'delete', 'back');
     $edit->build();
     $data['content'] = $edit->output;
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = $this->tits;
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:30,代码来源:r_sector.php

示例10: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $qformato = $this->qformato = $this->datasis->formato_cpla();
     $mCPLA = array('tabla' => 'cpla', 'columnas' => array('codigo' => 'C&oacute;digo', 'descrip' => 'Descripci&oacute;n'), 'filtro' => array('codigo' => 'C&oacute;digo', 'descrip' => 'Descripci&oacute;n'), 'retornar' => array('codigo' => 'cuenta'), 'titulo' => 'Buscar Cuenta', 'where' => "codigo LIKE \"{$qformato}\"");
     $bcpla = $this->datasis->modbus($mCPLA);
     $edit = new DataEdit("Grupo Menu", "grme");
     $edit->back_url = site_url("hospitalidad/grupomenu/filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->grupo = new inputField("Grupo", "grupo");
     $edit->grupo->rule = "trim|required|callback_chexiste";
     $edit->grupo->size = 8;
     $edit->grupo->maxlength = 5;
     $edit->descri1 = new dropdownField("Descripci&oacute;n", "descri1");
     $edit->descri1->option("", "");
     $edit->descri1->options("SELECT grupo,descri1 FROM grme ORDER BY grupo ");
     $edit->descri1->style = "width:180px";
     $edit->cuenta = new inputField("Cuenta contable", "cuenta");
     $edit->cuenta->rule = 'trim|existecpla';
     $edit->cuenta->append($bcpla);
     $edit->cuenta->size = 20;
     $edit->cuenta->maxlength = 15;
     $edit->observ = new inputField("Observaci&oacute;n", "observ1");
     $edit->observ->rule = 'trim';
     $edit->observ->size = 45;
     $edit->buttons("modify", "save", "undo", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Grupo Menu</h1>";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:34,代码来源:grupomenu.php

示例11: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Plan de cuenta", "cpla");
     $edit->back_url = "contabilidad/cpla";
     $edit->pre_process('delete', '_pre_del');
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->codigo = new inputField("C&oacute;digo", "codigo");
     $edit->codigo->rule = "trim|required|callback_chcodigo";
     $edit->codigo->mode = "autohide";
     $edit->codigo->size = 20;
     $edit->codigo->maxlength = 15;
     $edit->descrip = new inputField("Descripci&oacute;n", "descrip");
     $edit->descrip->rule = "strtoupper|required";
     $edit->descrip->size = 45;
     $edit->descrip->maxlength = 35;
     $edit->departa = new dropdownField("Usa departamento", "departa");
     $edit->departa->option("N", "No");
     $edit->departa->option("S", "Si");
     $edit->departa->style = 'width:80px';
     $edit->moneta = new dropdownField("Cuenta Monetaria", "moneta");
     $edit->moneta->option("N", "No");
     $edit->moneta->option("S", "Si");
     $edit->moneta->style = 'width:80px';
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data["head"] = $this->rapyd->get_head();
     $data['title'] = '<h1>Plan de Cuentas</h1>';
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:33,代码来源:cpla.php

示例12: dataedit

    function dataedit()
    {
        $this->rapyd->load("dataedit");
        $edit = new DataEdit("Asignaciones", "asig");
        $script = '
		$(function() {
			$(".inputnum").numeric(".");
		});
		';
        $edit->back_url = site_url("nomina/asig/filteredgrid");
        $edit->script($script, "create");
        $edit->script($script, "modify");
        $edit->post_process('insert', '_post_insert');
        $edit->post_process('update', '_post_update');
        $edit->post_process('delete', '_post_delete');
        $edit->codigo = new inputField("C&oacute;digo", "codigo");
        $edit->codigo->mode = "autohide";
        $edit->codigo->maxlength = 15;
        $edit->codigo->size = 20;
        $edit->codigo->rule = "required|callback_chexiste";
        $edit->nombre = new inputField("Nombre", "nombre");
        $edit->nombre->rule = "strtoupper|required";
        $edit->nombre->maxlength = 30;
        $edit->nombre->size = 40;
        $edit->concepto = new dropdownField("Concepto", "concepto");
        $edit->concepto->options("SELECT concepto, descrip FROM conc ORDER BY CONCEPTO");
        $edit->concepto->style = "width:300px;";
        $edit->tipo = new dropdownField("Tipo", "tipo");
        $edit->tipo->style = "width:100px;";
        $edit->tipo->options(array("A" => "Asignaci&oacute;n", "O" => "Otros", "D" => "Deducci&oacute;n"));
        $edit->descrip = new inputField("Descripci&oacute;n", "descrip");
        $edit->descrip->size = 45;
        $edit->descrip->maxlength = 35;
        $edit->descrip->rule = "strtoupper";
        $edit->formula = new inputField("F&oacute;rmula", "formula");
        $edit->formula->size = 80;
        $edit->formula->maxlength = 150;
        $edit->monto = new inputField("Monto", "monto");
        $edit->monto->size = 13;
        $edit->monto->css_class = 'inputnum';
        $edit->monto->rule = 'callback_positivo';
        $edit->fecha = new DateField("Fecha", "fecha");
        $edit->fecha->size = 12;
        $edit->cuota = new inputField("Cuotas", "cuota");
        $edit->cuota->size = 13;
        $edit->cuota->maxlength = 11;
        $edit->cuota->css_class = 'inputnum';
        $edit->cuota->rule = 'integer';
        $edit->cuotat = new inputField("Total de cuotas", "cuotat");
        $edit->cuotat->size = 13;
        $edit->cuotat->maxlength = 11;
        $edit->cuotat->css_class = 'inputnum';
        $edit->cuotat->rule = 'integer';
        $edit->buttons("modify", "save", "undo", "delete", "back");
        $edit->build();
        $data['content'] = $edit->output;
        $data['title'] = "Asignaci&oacute;n";
        $data["head"] = script("jquery.pack.js") . script("plugins/jquery.numeric.pack.js") . script("plugins/jquery.floatnumber.js") . $this->rapyd->get_head();
        $this->load->view('view_ventanas', $data);
    }
开发者ID:enderochoa,项目名称:tortuga,代码行数:60,代码来源:asig.php

示例13: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataedit");
     $edit = new DataEdit("Datos del Huesped", "hchk");
     $edit->back_url = site_url("hospitalidad/huesped/filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->cedula = new inputField("Cedula", "cedula");
     $edit->cedula->rule = "trim|strtoupper|required|callback_chrif|callback_chexiste";
     $edit->cedula->mode = "autohide";
     $edit->cedula->maxlength = 15;
     $edit->cedula->size = 17;
     $edit->nombres = new inputField("Nombres", "nombre");
     $edit->nombres->rule = "trim";
     $edit->nombres->size = 30;
     $edit->nombres->maxlength = 20;
     $edit->apellidos = new inputField("Apeliidos", "apellido");
     $edit->apellidos->rule = "trim";
     $edit->apellidos->size = 30;
     $edit->apellidos->maxlength = 20;
     $edit->dire1 = new inputField("Direcci&oacute;n", "dire1");
     $edit->dire1->rule = "trim";
     $edit->dire1->size = 50;
     $edit->dire1->maxlength = 40;
     $edit->telefono = new inputField("Tel&eacute;fono", "telefono");
     $edit->telefono->rule = "trim";
     $edit->telefono->size = 23;
     $edit->telefono->maxlength = 20;
     $edit->edad = new inputField("Edad", "edad");
     $edit->edad->rule = "trim";
     $edit->edad->size = 4;
     $edit->edad->maxlength = 2;
     $edit->visa = new dropdownField("Tipo de Visa", "visa");
     $edit->visa->option("", "");
     $edit->visa->options(array("T" => "Turista", "R" => "Residente", "O" => "Otros"));
     $edit->visa->style = "width:100px";
     $edit->civil = new dropdownField("Estado Civil", "civil");
     $edit->civil->option("", "");
     $edit->civil->options(array("S" => "SOLTERO(A)", "C" => "CASADO(A)", "D" => "DIVORCIADO(A)", "V" => "VIUDO(A)"));
     $edit->civil->style = "width:130px";
     $edit->profesion = new inputField("Profesi&oacute;n", "profesion");
     $edit->profesion->rule = "trim";
     $edit->profesion->size = 30;
     $edit->profesion->maxlength = 20;
     $edit->email = new inputField("Correo Electronico", "email");
     $edit->email->size = 40;
     $edit->email->maxlength = 40;
     $edit->email->rule = "valid_email|trim";
     $edit->nacional = new dropdownField("Nacionalidad", "nacional");
     $edit->nacional->option("", "");
     $edit->nacional->options("SELECT codigo, pais FROM nacion where pais>'' ORDER BY codigo ");
     $edit->nacional->style = "width:180px";
     $edit->buttons("modify", "save", "undo", "back", "delete");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = "<h1>Huespedes</h1>";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:60,代码来源:huesped.php

示例14: dataedit

 function dataedit()
 {
     $this->rapyd->load("dataobject", "dataedit");
     $edit = new DataEdit($this->tits, "bi_conc");
     $edit->back_url = site_url($this->url . "/filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->codigo = new inputField("C&oacute;digo", "codigo");
     $edit->codigo->mode = "autohide";
     $edit->codigo->rule = 'required';
     $edit->codigo->maxlength = 2;
     $edit->codigo->size = 2;
     $edit->denomi = new inputField("Denominaci&oacute;n", "denomi");
     $edit->denomi->size = 80;
     $edit->denomi->maxlength = 200;
     $edit->denomi->rule = "required";
     $edit->tipo = new dropdownField("Tipo", "tipo");
     $edit->tipo->option("I", "Incorporaci&oacute;n");
     $edit->tipo->option("D", "Desincorporaci&oacute;n");
     $edit->tipo->style = "width:150px";
     $edit->buttons("modify", "save", "undo", "delete", "back");
     $edit->build();
     $data['content'] = $edit->output;
     $data['title'] = $this->tits;
     $data["head"] = script("jquery.js") . $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:28,代码来源:bi_conc.php

示例15: dataedit

 function dataedit()
 {
     $this->rapyd->load('dataedit');
     $edit = new DataEdit($this->tits, 'r_contador');
     $edit->back_url = site_url($this->url . "filteredgrid");
     $edit->post_process('insert', '_post_insert');
     $edit->post_process('update', '_post_update');
     $edit->post_process('delete', '_post_delete');
     $edit->id = new inputField('Id', 'id');
     $edit->id->rule = 'trim';
     $edit->id->size = 13;
     $edit->id->maxlength = 11;
     $edit->id->mode = 'autohide';
     $edit->id->when = array('show', 'modify');
     $edit->nombre = new inputField('Nombre', 'nombre');
     $edit->nombre->rule = 'trim';
     $edit->nombre->size = 13;
     $edit->nombre->maxlength = 11;
     $edit->proxnumero = new inputField('Proxnumero', 'proxnumero');
     $edit->proxnumero->rule = 'trim';
     $edit->proxnumero->size = 13;
     $edit->proxnumero->maxlength = 11;
     $edit->serie = new inputField('Serie', 'serie');
     $edit->serie->rule = 'trim';
     $edit->serie->size = 13;
     $edit->serie->maxlength = 11;
     $edit->buttons('add', 'modify', 'save', 'undo', 'delete', 'back');
     $edit->build();
     $data['content'] = $edit->output;
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = $this->tits;
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:33,代码来源:r_contador.php


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