public function getSummary($separator = '-')
    {
        if ($this->getTotalAmount() == 0) {
            return (string) 0;
        } else {
            return $this->getStart() . $separator . $this->getEnd();
        }
    }
public function getSummary($separator = '-')
    {
        if ($this->getTotalAmount() == 0) {
            return (string) 0;
        } else {
            return $this->getStart() . $separator . $this->getEnd();
        }
    }
public function getSummary ( $ separator = '-' ) { if ( $ this -> getTotalAmount ( ) == 0 ) { return ( string ) 0 ; } else { return $ this -> getStart ( ) . $ separator . $ this -> getEnd ( ) ; } }
Returns a summary

@param string $separator
@return string
Returns a summary