SForm_Elm_Hidden __construct(
[string
$id = null], [string
$label = null], [array
$attributes = null]
)
|
|
Add hidden type info
Override the parent to ensure that the 'type' attribute is set to 'hidden'.
Parameters:
|
string |
$id: |
Local ID of this element |
|
string |
$label: |
Label of this element |
|
array |
$attributes: |
Any extra attributes |
API Tags:
Redefinition of:
- SForm_Element::__construct()
- Construct with an identity. Optionally add a label and more attributes.
Return the normal tag
Returns the tag as a hidden element.
API Tags:
| Return: | The hidden tag |
| Access: | public |
Redefinition of:
- SForm_Element::toHidden()
- Do we have any hidden tags to append?
Hidden is seperate from regular HTML
Hidden elements don't return regular HTML. The tag is returned from toHidden().
API Tags:
| Return: | Nothing |
| Access: | public |
Redefinition of:
- SForm_Element::toHtml()
- Create a HTML representation of this element
Hidden elements don't look like anything
Because they are hidden, the user wouldn't see anything when viewing as a string.
API Tags:
| Return: | Nothing |
| Access: | public |
Redefinition of:
- SForm_Element::toString()
- How does this value look as a HTML string?