Skip to content
mcanan edited this page Oct 7, 2015 · 4 revisions

View form

  • titulo
  • breadcrumb (array)
    • href
    • description
  • formActionAceptar
  • formActionCancelar
  • mensaje (optional)

Items

  • id
  • value
  • label
  • class (optional)
  • type
    • hidden
    • boolean
    • readonly
    • date
    • select
      • options (array)
        • label
        • value
    • money
    • password
    • input

Example

$items = array();
$items[] = array("type"=>"readonly","label"=>"Período", "value"=>$periodo['descripcion']);
$items[] = array("type"=>"date","id"=>"f","label"=>"Fecha","value"=>$fechaDefault);
$items[] = array("type"=>"input","id"=>"d","label"=>"Descripción", "placeholder"=>"descripción","size"=>"50","maxlength"=>"50");
$this->setContentVariable('items', $items);
Clone this wiki locally