/**
  * (non-PHPdoc)
  * @see Zend_Form::init()
  */
 public function init()
 {
     $oBaseUrlHelper = new Zend_View_Helper_BaseUrl();
     $this->setName('form_parametros_prefeitura_rps');
     $this->setAction($oBaseUrlHelper->baseUrl('/administrativo/parametro/prefeitura-salvar-rps'));
     $oParametrosPrefeituraRps = new Administrativo_Model_ParametroPrefeituraRps();
     $aParametrosPrefeituraRps = $oParametrosPrefeituraRps->getListAll(NULL, array('tipo_nfse' => 'ASC'));
     foreach ($aParametrosPrefeituraRps as $oParametroRps) {
         $aElementos[$oParametroRps->getId()] = $this->createElement('select', (string) $oParametroRps->getTipoNfse());
         $aElementos[$oParametroRps->getId()]->setLabel("{$oParametroRps->getTipoNfseDescricao()}:");
         $aElementos[$oParametroRps->getId()]->setBelongsTo('parametros_prefeitura_rps');
         $aElementos[$oParametroRps->getId()]->setAttrib('class', 'span3');
         $aElementos[$oParametroRps->getId()]->removeDecorator('errors');
         self::setTiposEcidade($aElementos[$oParametroRps->getId()]);
     }
     $aElementos[] = $this->createElement('submit', 'btn_salvar_rps', array('label' => 'Salvar', 'buttonType' => Twitter_Bootstrap_Form_Element_Submit::BUTTON_SUCCESS));
     $this->addElements($aElementos);
     return $this;
 }