public function filterSubmitted(array $allowed)
    {
        $this->submitted = array_intersect_key($this->submitted, array_flip($allowed));
        return $this->submitted;
    }
public function filterSubmitted(array $allowed)
    {
        $this->submitted = array_intersect_key($this->submitted, array_flip($allowed));
        return $this->submitted;
    }
public function filterSubmitted ( array $ allowed ) { $ this -> submitted = array_intersect_key ( $ this -> submitted , array_flip ( $ allowed ) ) ; return $ this -> submitted ; }
Limit an array of submitted data to the allowed keys
@param array $allowed
@return array
Limit an array of submitted data to the allowed keys