Lines Matching refs:plan

19     protected $plan;  variable in admin_plugin_move_main
22 $this->plan = plugin_load('helper', 'move_plan');
31 if($this->plan->isCommited()) $label .= ' '.$this->getLang('inprogress');
64 if($this->plan->isCommited()) {
68 $this->plan->nextStep();
71 $this->plan->nextStep(true);
74 $this->plan->abort();
85 if($this->plan->isCommited()) {
102 if($this->plan->isCommited()) return false;
104 $this->plan->setOption('autoskip', $INPUT->bool('autoskip'));
105 $this->plan->setOption('autorewrite', $INPUT->bool('autorewrite'));
128 $this->plan->addPageNamespaceMove($src, $dst);
129 $this->plan->addMediaNamespaceMove($src, $dst);
131 $this->plan->addPageNamespaceMove($src, $dst);
133 $this->plan->addMediaNamespaceMove($src, $dst);
136 $this->plan->addPageMove($src, $INPUT->str('dst'));
138 $this->plan->commit();
147 $this->plan->addPageNamespaceMove($entry['src'], $entry['dst']);
149 $this->plan->addMediaNamespaceMove($entry['src'], $entry['dst']);
153 $this->plan->addPageMove($entry['src'], $entry['dst']);
155 $this->plan->addMediaMove($entry['src'], $entry['dst']);
160 $this->plan->commit();
208 $progress = $this->plan->getProgress();
210 if(!$this->plan->inProgress()) {
216 echo $this->plan->previewHTML();
224 if($this->plan->getLastError()) {
225 echo '<p><div class="error">' . $this->plan->getLastError() . '</div></p>';
226 } elseif ($this->plan->inProgress()) {
235 $this->btn('start', !$this->plan->inProgress());
236 $this->btn('retry', $this->plan->getLastError());
237 $this->btn('skip', $this->plan->getLastError());
238 $this->btn('continue', $this->plan->inProgress() && !$this->plan->getLastError());