WidgetSets\Dev\WidgetSetTools
Provides methods for common tasks.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class WidgetSetTools
{
- // methods
- public static string singular_name_for()
- public static string plural_name_for()
Methods
public
- plural_name_for() — Returns the translated plural name of the object. If no translation exists the class name will be returned.
- singular_name_for() — Returns the translated singular name of the given object. If no translation exists the class name will be returned.