Inherited by WidgetFactory.
Public Member Functions | |
__construct ($page) | |
getFormWidget ($itemType, $path, $contentLabel, $formKey=null) | |
getDetailsFormWidget ($text) | |
getCustomWidget ($text) | |
getCustomWebsiteWidget ($text) | |
getCustomUrlWidget ($text) | |
isPasswordWidget ($text) | |
getAndIncludeWidget ($text, $class) | |
getCheckboxWidget ($text) | |
getDateWidget ($text) | |
getPasswordWidget ($text) | |
getTextWidget ($text) | |
getHtmlWidget ($text) | |
getAdvancedHtmlWidget ($text) | |
getTextAreaWidget ($text) | |
getSelectWidget ($text) | |
getRadioWidget ($text) | |
getDialogWidget ($text) | |
getMtoNDialogWidget ($text) | |
getShortlistDialogWidget ($text) | |
getRequestedObject () | |
getTextAreaTreshold () | |
setTextAreaTreshold ($value) | |
getDialogTreshold () | |
setDialogTreshold ($value) | |
__toString () | |
Data Fields | |
$textAreaTreshold = 120 | |
$dialogTreshold = 30 | |
$widgetDir = 'widgets' | |
__construct | ( | $page | ) |
__toString | ( | ) |
getAdvancedHtmlWidget | ( | $text | ) |
getAndIncludeWidget | ( | $text, | |
$class | |||
) |
WARNING: Do not call this method with class name from unrusted data
getCheckboxWidget | ( | $text | ) |
getCustomUrlWidget | ( | $text | ) |
getCustomWebsiteWidget | ( | $text | ) |
getCustomWidget | ( | $text | ) |
getDateWidget | ( | $text | ) |
getDetailsFormWidget | ( | $text | ) |
PntReflectionError if text holds invalid path for the itemType
! do not set the ShortlistPath if you do not have the ShortlistDialogWidget installed!
getDialogTreshold | ( | ) |
getDialogWidget | ( | $text | ) |
getFormWidget | ( | $itemType, | |
$path, | |||
$contentLabel, | |||
$formKey = null |
|||
) |
string | $itemType | name of the (super) class of the item, must already be checkedAlphaNumeric |
string | $path | UNTRUSTED to the property edited by the widget |
string | $contentLabel | UNTRUSTED human readable representation of the value in the request |
string | $formKey | name of the widget in the form PntReflectionError if text holds invalid $path for $itemType |
getHtmlWidget | ( | $text | ) |
getMtoNDialogWidget | ( | $text | ) |
getPasswordWidget | ( | $text | ) |
getRadioWidget | ( | $text | ) |
getRequestedObject | ( | ) |
getSelectWidget | ( | $text | ) |
getShortlistDialogWidget | ( | $text | ) |
getTextAreaTreshold | ( | ) |
getTextAreaWidget | ( | $text | ) |
getTextWidget | ( | $text | ) |
isPasswordWidget | ( | $text | ) |
setDialogTreshold | ( | $value | ) |
setTextAreaTreshold | ( | $value | ) |
$dialogTreshold = 30 |
$textAreaTreshold = 120 |
$widgetDir = 'widgets' |