CI_Zip::get_zip PHP Méthode

get_zip() public méthode

Get the Zip file
public get_zip ( ) : string
Résultat string (binary encoded)
    public function get_zip()
    {
        // Is there any data to return?
        if ($this->entries === 0) {
            return FALSE;
        }
        return $this->zipdata . $this->directory . "PK" . pack('v', $this->entries) . pack('v', $this->entries) . pack('V', strlen($this->directory)) . pack('V', strlen($this->zipdata)) . "";
        // .zip file comment length
    }