classes/phing/tasks/ext/ioncube/IoncubeLicenseTask.php
private function constructArguments()
    {
        $arguments = "";

        if (!empty($this->passPhrase)) {
            $arguments .= "--passphrase '" . $this->passPhrase . "' ";
        }

        foreach ($this->comments as $comment) {
            $arguments .= "--header-line '" . $comment->getValue() . "' ";
        }

        if (!empty($this->licensePath)) {
            $arguments .= "--o '" . $this->licensePath . "' ";
        }

        if (!empty($this->allowedServer)) {
            $arguments .= "--allowed-server {" . $this->allowedServer . "} ";
        }

        if (!empty($this->expireOn)) {
            $arguments .= "--expire-on " . $this->expireOn . " ";
        }

        if (!empty($this->expireIn)) {
            $arguments .= "--expire-in " . $this->expireIn . " ";
        }

        return $arguments;
    }
private function constructArguments()
    {
        $arguments = "";

        if (!empty($this->passPhrase)) {
            $arguments .= "--passphrase '" . $this->passPhrase . "' ";
        }

        foreach ($this->comments as $comment) {
            $arguments .= "--header-line '" . $comment->getValue() . "' ";
        }

        if (!empty($this->licensePath)) {
            $arguments .= "--o '" . $this->licensePath . "' ";
        }

        if (!empty($this->allowedServer)) {
            $arguments .= "--allowed-server {" . $this->allowedServer . "} ";
        }

        if (!empty($this->expireOn)) {
            $arguments .= "--expire-on " . $this->expireOn . " ";
        }

        if (!empty($this->expireIn)) {
            $arguments .= "--expire-in " . $this->expireIn . " ";
        }

        return $arguments;
    }
private function constructArguments ( ) { $ arguments = "" ; if ( ! empty ( $ this -> passPhrase ) ) { $ arguments .= "--passphrase '" . $ this -> passPhrase . "' " ; } foreach ( $ this -> comments as $ comment ) { $ arguments .= "--header-line '" . $ comment -> getValue ( ) . "' " ; } if ( ! empty ( $ this -> licensePath ) ) { $ arguments .= "--o '" . $ this -> licensePath . "' " ; } if ( ! empty ( $ this -> allowedServer ) ) { $ arguments .= "--allowed-server {" . $ this -> allowedServer . "} " ; } if ( ! empty ( $ this -> expireOn ) ) { $ arguments .= "--expire-on " . $ this -> expireOn . " " ; } if ( ! empty ( $ this -> expireIn ) ) { $ arguments .= "--expire-in " . $ this -> expireIn . " " ; } return $ arguments ; }
Constructs an argument string for the ionCube make_license
Constructs an argument string for the ionCube make_license