Files
server/usr/share/psa-horde/ingo/lib/Ajax/Application.php
2026-01-07 20:52:11 +01:00

43 lines
1.0 KiB
PHP

<?php
/**
* Copyright 2012-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file LICENSE for license information (ASL). If you
* did not receive this file, see http://www.horde.org/licenses/apache.
*
* @author Michael Slusarz <slusarz@horde.org>
* @category Horde
* @license http://www.horde.org/licenses/apache ASL
* @package Ingo
*/
/**
* Defines the AJAX interface for Ingo.
*
* @author Michael Slusarz <slusarz@horde.org>
* @category Horde
* @license http://www.horde.org/licenses/apache ASL
* @package Ingo
*/
class Ingo_Ajax_Application extends Horde_Core_Ajax_Application
{
/**
*/
protected function _init()
{
global $registry;
switch ($registry->getView()) {
case $registry::VIEW_BASIC:
case $registry::VIEW_DYNAMIC:
$this->addHandler('Ingo_Ajax_Application_Filters');
break;
case $registry::VIEW_SMARTMOBILE:
$this->addHandler('Ingo_Ajax_Application_Smartmobile');
break;
}
}
}