protected function _getFromFile()
    {
        $file = new File($this->params['source']);
        if ($this->_unzip($file->pwd())) {
            return $this->_validateContent();
        }

        $this->err(__d('installer', 'Unable to extract the package.'));

        return false;
    }
protected function _getFromFile()
    {
        $file = new File($this->params['source']);
        if ($this->_unzip($file->pwd())) {
            return $this->_validateContent();
        }

        $this->err(__d('installer', 'Unable to extract the package.'));

        return false;
    }
protected function _getFromFile ( ) { $ file = new File ( $ this -> params [ 'source' ] ) ; if ( $ this -> _unzip ( $ file -> pwd ( ) ) ) { return $ this -> _validateContent ( ) ; } $ this -> err ( __d ( 'installer' , 'Unable to extract the package.' ) ) ; return false ; }
Prepares install from ZIP file.

@return bool True on success
Prepares install from ZIP file .