setLabel(_('Feed Privacy')); $stationPodcastPrivacy->setMultiOptions(array( _("Public"), _("Private"), )); $stationPodcastPrivacy->setValue($isPrivate); $stationPodcastPrivacy->setDecorators(array('ViewHelper', 'Label')); $this->addElement($stationPodcastPrivacy); $stationPodcast = PodcastQuery::create()->findOneByDbId(Application_Model_Preference::getStationPodcastId()); $url = $stationPodcast->getDbUrl(); $feedUrl = new Zend_Form_Element_Text("stationPodcastFeedUrl"); $feedUrl->setAttrib('class', 'input_text') ->setAttrib('disabled', 'disabled') ->setRequired(false) ->setLabel(_("Feed URL")) ->setValue($url); $feedUrl->setDecorators(array('ViewHelper', 'Label')); $this->addElement($feedUrl); } }