public function toString($separator = ', ')
    {
        $fields = array(
            $this->Company,
            $this->getName(),
            $this->Address,
            $this->AddressLine2,
            $this->City,
            $this->State,
            $this->PostalCode,
            $this->Country
        );
        $this->extend('updateToString', $fields);
        return implode($separator, array_filter($fields));
    }
public function toString($separator = ', ')
    {
        $fields = array(
            $this->Company,
            $this->getName(),
            $this->Address,
            $this->AddressLine2,
            $this->City,
            $this->State,
            $this->PostalCode,
            $this->Country
        );
        $this->extend('updateToString', $fields);
        return implode($separator, array_filter($fields));
    }
public function toString ( $ separator = ', ' ) { $ fields = array ( $ this -> Company , $ this -> getName ( ) , $ this -> Address , $ this -> AddressLine2 , $ this -> City , $ this -> State , $ this -> PostalCode , $ this -> Country ) ; $ this -> extend ( 'updateToString' , $ fields ) ; return implode ( $ separator , array_filter ( $ fields ) ) ; }
Convert address to a single string.
Convert address to a single string .