Advertisement
KaeruCT

crearForm_camAviadora

Jul 29th, 2011
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.13 KB | None | 0 0
  1. function crearForm_camAviadora($prenda)
  2.         {          
  3.             $form = $this->crearSelect('tipoCuello', 'Tipo de cuello', $prenda->getTiposCuelloAviadora(), $prenda->getTipoCuello());
  4.            
  5.             $form .= $this->crearSelect('tipoManga', 'Tipo de manga', $prenda->getTiposManga(), $prenda->getTipoManga());
  6.            
  7.             $form .= $this->crearSelect('tipoRuedo', 'Tipo de ruedo', $prenda->getTiposRuedo(), $prenda->getTipoRuedo());
  8.            
  9.             $form .= $this->crearSelect('tipoPuno', 'Tipo de puño', $prenda->getTiposPunoAviadora(), $prenda->getTipoPuno());
  10.  
  11.             $form .= '<h3>Opciones de la camisa</h3>';
  12.            
  13.             $form .= $this->crearCheckbox('tieneJaretilla', 'Ruedo con jaretilla', $prenda->getTieneJaretilla());
  14.            
  15.             $form .= $this->crearCheckbox('tienePlantilla', 'Con plantilla', $prenda->getTienePlantilla());
  16.            
  17.             $form .= $this->crearCheckbox('tienePaleton', 'Con palet&oacute;n', $prenda->getTienePaleton());
  18.            
  19.             $form .= $this->crearCheckbox('tieneCharretera', 'Con charretera', $prenda->getTieneCharretera());
  20.            
  21.             $form .= $this->crearCheckbox('tieneTapaBolsa', 'Con tapa en la bolsa', $prenda->getTieneTapaBolsa());
  22.            
  23.             return $form;
  24.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement