protected function short($string, $length = 200)
    {
        if( strlen( $string ) < $length ) {
            return $string;
        }

        return substr( $string, 0, $length ) .'...';
    }
protected function short($string, $length = 200)
    {
        if( strlen( $string ) < $length ) {
            return $string;
        }

        return substr( $string, 0, $length ) .'...';
    }
protected function short ( $ string , $ length = 200 ) { if ( strlen ( $ string ) < $ length ) { return $ string ; } return substr ( $ string , 0 , $ length ) . '...' ; }
Return a short version of a strings

@param       string $string      The string to be shortened
@param       int $length         The maximum length of the string that is to be shown
@return string
Return a short version of a strings