public function getSummary()
    {
        // As a sensible default, use the class name
        $message = get_class($this);

        // Append model errors summary if applicable
        $modelErrorSummary = $this->getModelErrorSummary();
        if (!empty($modelErrorSummary)) {
            $message .= ' ('.$modelErrorSummary.')';
        }

        return $message;
    }
public function getSummary()
    {
        // As a sensible default, use the class name
        $message = get_class($this);

        // Append model errors summary if applicable
        $modelErrorSummary = $this->getModelErrorSummary();
        if (!empty($modelErrorSummary)) {
            $message .= ' ('.$modelErrorSummary.')';
        }

        return $message;
    }
public function getSummary ( ) { // As a sensible default, use the class name $ message = get_class ( $ this ) ; // Append model errors summary if applicable $ modelErrorSummary = $ this -> getModelErrorSummary ( ) ; if ( ! empty ( $ modelErrorSummary ) ) { $ message .= ' (' . $ modelErrorSummary . ')' ; } return $ message ; }
Returns string representation of error
@return string
Returns string representation of error