3
* Defines the AJAX interface for Nag.
5
* Copyright 2010-2013 Horde LLC (http://www.horde.org/)
7
* See the enclosed file COPYING for license information (GPL). If you
8
* did not receive this file, see http://www.horde.org/licenses/gpl.
10
* @author Michael Slusarz <slusarz@horde.org>
12
* @license http://www.horde.org/licenses/gpl GPL
15
class Nag_Ajax_Application extends Horde_Core_Ajax_Application
19
protected function _init()
23
$this->addHandler('Horde_Core_Ajax_Application_Handler_Prefs');
25
switch ($registry->getView()) {
26
case $registry::VIEW_SMARTMOBILE:
27
$this->addHandler('Nag_Ajax_Application_Handler_Smartmobile');