original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Prepares install from ZIP file.
  
  @return bool True on success
docstring_tokens: Prepares install from ZIP file .