ActionController: allow to disable autorefresh

This commit is contained in:
Thomas Gelf 2014-06-20 13:17:11 +02:00
parent a622f34be6
commit 7cad4de3be
1 changed files with 7 additions and 0 deletions

View File

@ -328,6 +328,13 @@ class ActionController extends Zend_Controller_Action
);
}
$this->autorefreshInterval = $interval;
return $this;
}
public function disableAutoRefresh()
{
$this->autorefreshInterval = null;
return $this;
}
/**