URL to redirect to.
This allows to use tasks that redirect to their own specific handler.
*/
public function getLoginTasksUrl()
{
- return $this->_backend->getLoginTasksUrl();
+ return $this->_backend->getLoginTasksUrl($this->_tasklist->needDisplay());
}
/**
/**
* Return the URL of the login tasks view.
*
+ * @param array $tasks The tasks to be displayed next.
+ *
* @return string The URL of the login tasks view
*/
- abstract public function getLoginTasksUrl();
+ abstract public function getLoginTasksUrl(array $tasks = null);
}
\ No newline at end of file
/**
* Return the URL of the login tasks view.
*
+ * @param array $tasks The tasks to be displayed next.
+ *
* @return string The URL of the login tasks view
*/
- public function getLoginTasksUrl()
+ public function getLoginTasksUrl(array $tasks = null)
{
return Horde::url(Horde_Util::addParameter($this->_registry->get('webroot', 'horde') . '/services/logintasks.php', array('app' => $this->_app)), true);
}