public function processForm(array $values)
 {
     parent::processForm($values);
     $this->setOwaUrl(PHPWS_Text::parseInput($values['owa_url']));
     $this->setOwaSiteId(PHPWS_Text::parseInput($values['owa_site_id']));
     if (isset($values['owa_track_page_view'])) {
         $this->setTrackPageView(true);
     } else {
         $this->setTrackPageView(false);
     }
     if (isset($values['owa_track_clicks'])) {
         $this->setTrackClicks(true);
     } else {
         $this->setTrackClicks(false);
     }
     if (isset($values['owa_track_domstream'])) {
         $this->setTrackDomStream(true);
     } else {
         $this->setTrackDomStream(false);
     }
 }
Exemple #2
0
 public function processForm(array $values)
 {
     parent::processForm($values);
     $this->setPiwikUrl(PHPWS_Text::parseInput($values['piwik_url']));
     $this->setPiwikId(PHPWS_Text::parseInput($values['piwik_id']));
 }
 public function processForm(array $values)
 {
     parent::processForm($values);
     $this->setAccount(PHPWS_Text::parseInput($values['account']));
 }