public function getRelatedParts()
    {
        if ( is_null( $this->getMainPart() ) )
        {
            return array_slice( $this->parts, 0 );
        }
        return array_slice( $this->parts, 1 );
    }
public function getRelatedParts()
    {
        if ( is_null( $this->getMainPart() ) )
        {
            return array_slice( $this->parts, 0 );
        }
        return array_slice( $this->parts, 1 );
    }
public function getRelatedParts ( ) { if ( is_null ( $ this -> getMainPart ( ) ) ) { return array_slice ( $ this -> parts , 0 ) ; } return array_slice ( $ this -> parts , 1 ) ; }
Returns the mail parts associated with this multipart.

@return array(ezcMailPart)
Returns the mail parts associated with this multipart .