Lines Matching refs:helper
17 protected $helper;
20 * initialize helper
24 $this->helper = plugin_load('helper', 'upgrade');
25 $this->helper->setLogger($this);
153 $ok = $this->helper->cleanup();
161 $ok = $this->helper->checkVersions();
167 } elseif (!file_exists($this->helper->tgzfile)) {
168 if ($ok = $this->helper->downloadTarball()) $next = 'unpack';
169 } elseif (!is_dir($this->helper->tgzdir)) {
170 if ($ok = $this->helper->extractTarball()) $next = 'check';
172 if ($ok = $this->helper->checkPermissions()) $next = 'upgrade';
174 if ($ok = $this->helper->copyFiles()) {
175 $ok = $this->helper->deleteObsoleteFiles();
176 $this->helper->cleanup();
186 $this->helper->cleanup(); // make sure we start clean