library/Garp/Adobe/InDesign/Storage.php
public function extract() {
        $zip = new ZipArchive();

        $res = $zip->open($this->_sourcePath);
        if ($res === true) {
            $zip->extractTo($this->_workingDir);
            $zip->close();
        } else {
            throw new Exception('Could not open archive ' . $this->_sourcePath);
        }
    }
public function extract() {
        $zip = new ZipArchive();

        $res = $zip->open($this->_sourcePath);
        if ($res === true) {
            $zip->extractTo($this->_workingDir);
            $zip->close();
        } else {
            throw new Exception('Could not open archive ' . $this->_sourcePath);
        }
    }
public function extract ( ) { $ zip = new ZipArchive ( ) ; $ res = $ zip -> open ( $ this -> _sourcePath ) ; if ( $ res === true ) { $ zip -> extractTo ( $ this -> _workingDir ) ; $ zip -> close ( ) ; } else { throw new Exception ( 'Could not open archive ' . $ this -> _sourcePath ) ; } }
Extract .idml file and place it in the working directory.

@return void
Extract . idml file and place it in the working directory .