src/Message/Message.php
public function toINI()
    {
        $smBody = str_replace("\n", chr(6), $this->smbody);

        $ini = '';
        $ini .= "dstaddr={$this->dstaddr}\n";
        $ini .= "smbody={$smBody}\n";
        if (!empty($this->dlvtime)) {
            $ini .= "dlvtime={$this->dlvtime}\n";
        }
        if (!empty($this->vldtime)) {
            $ini .= "vldtime={$this->vldtime}\n";
        }
        if (!empty($this->response)) {
            $ini .= "response={$this->response}\n";
        }

        return $ini;
    }
public function toINI()
    {
        $smBody = str_replace("\n", chr(6), $this->smbody);

        $ini = '';
        $ini .= "dstaddr={$this->dstaddr}\n";
        $ini .= "smbody={$smBody}\n";
        if (!empty($this->dlvtime)) {
            $ini .= "dlvtime={$this->dlvtime}\n";
        }
        if (!empty($this->vldtime)) {
            $ini .= "vldtime={$this->vldtime}\n";
        }
        if (!empty($this->response)) {
            $ini .= "response={$this->response}\n";
        }

        return $ini;
    }
public function toINI ( ) { $ smBody = str_replace ( "\n" , chr ( 6 ) , $ this -> smbody ) ; $ ini = '' ; $ ini .= "dstaddr={$this->dstaddr}\n" ; $ ini .= "smbody={$smBody}\n" ; if ( ! empty ( $ this -> dlvtime ) ) { $ ini .= "dlvtime={$this->dlvtime}\n" ; } if ( ! empty ( $ this -> vldtime ) ) { $ ini .= "vldtime={$this->vldtime}\n" ; } if ( ! empty ( $ this -> response ) ) { $ ini .= "response={$this->response}\n" ; } return $ ini ; }
toINI returns the INI format string from the message fields

@return string
toINI returns the INI format string from the message fields