ActionController: allow to disable autorefresh
This commit is contained in:
parent
a622f34be6
commit
7cad4de3be
|
@ -328,6 +328,13 @@ class ActionController extends Zend_Controller_Action
|
|||
);
|
||||
}
|
||||
$this->autorefreshInterval = $interval;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function disableAutoRefresh()
|
||||
{
|
||||
$this->autorefreshInterval = null;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue