1<?php 2/** 3 * Defines the AJAX interface for Kronolith. 4 * 5 * Copyright 2010-2017 Horde LLC (http://www.horde.org/) 6 * 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. 9 * 10 * @author Michael Slusarz <slusarz@horde.org> 11 * @author Jan Schneider <jan@horde.org> 12 * @author Gonçalo Queirós <mail@goncaloqueiros.net> 13 * @category Horde 14 * @license http://www.horde.org/licenses/gpl GPL 15 * @package Kronolith 16 */ 17class Kronolith_Ajax_Application extends Horde_Core_Ajax_Application 18{ 19 /** 20 */ 21 protected function _init() 22 { 23 $this->addHandler('Kronolith_Ajax_Application_Handler'); 24 25 $this->addHandler('Horde_Core_Ajax_Application_Handler_Chunk'); 26 $this->addHandler('Horde_Core_Ajax_Application_Handler_Groups'); 27 $this->addHandler('Horde_Core_Ajax_Application_Handler_Imple'); 28 $this->addHandler('Horde_Core_Ajax_Application_Handler_Prefs'); 29 30 $email = $this->addHandler('Horde_Core_Ajax_Application_Handler_Email'); 31 $email->defaultDomain = empty($GLOBALS['conf']['storage']['default_domain']) 32 ? null 33 : $GLOBALS['conf']['storage']['default_domain']; 34 } 35 36} 37