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'));
119 $this->plan->addPageNamespaceMove($src, $dst);
120 $this->plan->addMediaNamespaceMove($src, $dst);
122 $this->plan->addPageNamespaceMove($src, $dst);
124 $this->plan->addMediaNamespaceMove($src, $dst);
127 $this->plan->addPageMove($ID, $INPUT->str('dst'));
129 $this->plan->commit();
139 $this->plan->addPageNamespaceMove($entry['src'], $entry['dst']);
141 $this->plan->addMediaNamespaceMove($entry['src'], $entry['dst']);
145 $this->plan->addPageMove($entry['src'], $entry['dst']);
147 $this->plan->addMediaMove($entry['src'], $entry['dst']);
152 $this->plan->commit();
200 $progress = $this->plan->getProgress();
202 if(!$this->plan->inProgress()) {
208 echo $this->plan->previewHTML();
216 if($this->plan->getLastError()) {
217 echo '<p><div class="error">' . $this->plan->getLastError() . '</div></p>';
218 } elseif ($this->plan->inProgress()) {
227 $this->btn('start', !$this->plan->inProgress());
228 $this->btn('retry', $this->plan->getLastError());
229 $this->btn('skip', $this->plan->getLastError());
230 $this->btn('continue', $this->plan->inProgress() && !$this->plan->getLastError());