Horde_Core_Prefs_Ui_Special
in
Base interface for handling 'special' preference types.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Methods
- display() : string
- Generate code used to display a special preference.
- init() : mixed
- Code to run on initialization.
- update() : bool
- Handle updating a special preference.
Methods
display()
Generate code used to display a special preference.
public
display(Horde_Core_Prefs_Ui $ui) : string
Parameters
- $ui : Horde_Core_Prefs_Ui
-
The UI object.
Return values
string —The HTML code to display on the prefs UI page.
init()
Code to run on initialization.
public
init(Horde_Core_Prefs_Ui $ui) : mixed
Parameters
- $ui : Horde_Core_Prefs_Ui
-
The UI object.
update()
Handle updating a special preference.
public
update(Horde_Core_Prefs_Ui $ui) : bool
Parameters
- $ui : Horde_Core_Prefs_Ui
-
The UI object.
Return values
bool —True if preference was updated.