protected function getOnEventElements()
    {
        $elementList = array();
        foreach ($this->dataPanel as $element) {
            if ($element->onEventLog == "Y")
                $elementList[] = $element->value;
        }
        return $elementList;
    }
protected function getOnEventElements()
    {
        $elementList = array();
        foreach ($this->dataPanel as $element) {
            if ($element->onEventLog == "Y")
                $elementList[] = $element->value;
        }
        return $elementList;
    }
protected function getOnEventElements ( ) { $ elementList = array ( ) ; foreach ( $ this -> dataPanel as $ element ) { if ( $ element -> onEventLog == "Y" ) $ elementList [ ] = $ element -> value ; } return $ elementList ; }
Get on event elements

@return array element list
Get on event elements