public function getSummaryMessages()
    {
        $messages = $this->getDetailMessages();
        $summaries = array();
        foreach ($messages as $field => $rules) {
            foreach ($rules as $options) {
                foreach ($options as $message) {
                    $summaries[$field][] = $message;
                }
            }
        }
        return $summaries;
    }
public function getSummaryMessages()
    {
        $messages = $this->getDetailMessages();
        $summaries = array();
        foreach ($messages as $field => $rules) {
            foreach ($rules as $options) {
                foreach ($options as $message) {
                    $summaries[$field][] = $message;
                }
            }
        }
        return $summaries;
    }
public function getSummaryMessages ( ) { $ messages = $ this -> getDetailMessages ( ) ; $ summaries = array ( ) ; foreach ( $ messages as $ field => $ rules ) { foreach ( $ rules as $ options ) { foreach ( $ options as $ message ) { $ summaries [ $ field ] [ ] = $ message ; } } } return $ summaries ; }
Returns summary invalid messages

@return array
Returns summary invalid messages