CustomHtmlForm\Dev\Tools
Provides helper methods for CustomHtmlForms.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class Tools
{
- // members
- public static $baseURLSegment = NULL;
- // methods
- public static boolean isDropdownField()
- public static boolean isListboxField()
- public static boolean isOptionsetField()
- public static boolean isSelectiongroupField()
- public static boolean isTextField()
- public static boolean isTextareaField()
- public static string getBaseURLSegment()
- public static Session Session()
- public static Session saveSession()
Members
public
- $baseURLSegment
—
string
The base url segment
Methods
public
- Session() — Returns the current Session.
- getBaseURLSegment() — Returns the base URL segment that's used for inclusion of css and javascript files via Requirements.
- isDropdownField() — Returns whether the given type is a dropdown field.
- isListboxField() — Returns whether the given type is a listbox field.
- isOptionsetField() — Returns whether the given type is an optionset field.
- isSelectiongroupField() — Returns whether the given type is a selection group field.
- isTextField() — Returns whether the given type is a text field.
- isTextareaField() — Returns whether the given type is a textarea field.
- saveSession() — Returns the current Session.