* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL, version 2 * @author Icinga Development Team */ // {{{ICINGA_LICENSE_HEADER}}} use \Icinga\Web\Controller\BasePreferenceController; use \Icinga\Web\Widget\Tab; use \Icinga\Web\Url; /** * Application wide preference controller for user preferences */ class PreferenceController extends BasePreferenceController { /** * Create tabs for this preference controller * * @return array * * @see BasePreferenceController::createProvidedTabs() */ public static function createProvidedTabs() { return array( 'preference' => new Tab( array( 'name' => 'preferences', 'iconCls' => 'user', 'title' => 'Preferences', 'url' => Url::fromPath('/preference') ) ) ); } /** * @TODO: Implement User preferences (feature #5425) */ public function indexAction() { } } // @codingStandardsIgnoreEnd