public function getImpact()
    {
        if (!$this->impact) {
            $this->impact = 0;
            foreach ($this->events as $event) {
                $this->impact += $event->getImpact();
            }
        }

        return $this->impact;
    }
public function getImpact()
    {
        if (!$this->impact) {
            $this->impact = 0;
            foreach ($this->events as $event) {
                $this->impact += $event->getImpact();
            }
        }

        return $this->impact;
    }
public function getImpact ( ) { if ( ! $ this -> impact ) { $ this -> impact = 0 ; foreach ( $ this -> events as $ event ) { $ this -> impact += $ event -> getImpact ( ) ; } } return $ this -> impact ; }
Returns total impact

Each stored IDS_Event object and its IDS_Filter sub-object are called
to calculate the overall impact level of this request

@return integer
Returns total impact