Dotclear 2.25
|
HTML Forms label creation helpers. More...
Public Member Functions | |
__construct (string $text='', int $position=self::INSIDE_TEXT_BEFORE, ?string $id=null) | |
setPosition (int $position=self::INSIDE_TEXT_BEFORE) | |
getDefaultElement () | |
![]() | |
__construct (?string $type=null, ?string $_element=null) | |
__get (string $property) | |
__set (string $property, $value) | |
__isset (string $property) | |
__unset (string $property) | |
__call (string $method, $arguments) | |
__invoke () | |
getType () | |
setType (string $type) | |
getElement () | |
setElement (string $element) | |
attachLabel (?formLabel $label=null, ?int $position=null) | |
detachLabel () | |
setIdentifier ($identifier) | |
checkMandatoryAttributes () | |
renderCommonAttributes (bool $includeValue=true) | |
Data Fields | |
const | INSIDE_TEXT_BEFORE = 0 |
const | INSIDE_TEXT_AFTER = 1 |
const | OUTSIDE_LABEL_BEFORE = 2 |
const | OUTSIDE_LABEL_AFTER = 3 |
const | INSIDE_LABEL_BEFORE = 0 |
const | INSIDE_LABEL_AFTER = 1 |
const | OUTSIDE_TEXT_BEFORE = 2 |
const | OUTSIDE_TEXT_AFTER = 3 |
Additional Inherited Members | |
![]() | |
static | init (... $args) |
![]() | |
render () | |
getDefaultElement () | |
HTML Forms label creation helpers.
__construct | ( | string | $text = '' , |
int | $position = self::INSIDE_TEXT_BEFORE , |
||
?string | $id = null |
||
) |
Constructs a new instance.
string | $text | The text |
int | $position | The position |
null | string | $id | The identifier |
setPosition | ( | int | $position = self::INSIDE_TEXT_BEFORE | ) |
Sets the position.
int | $position | The position |
getDefaultElement | ( | ) |
const INSIDE_TEXT_BEFORE = 0 |
const INSIDE_TEXT_AFTER = 1 |
Referenced by adminGenericFilterV2\display().
const OUTSIDE_LABEL_BEFORE = 2 |
Referenced by adminGenericFilterV2\display(), adminBlog\render(), adminBlogDel\render(), and adminBlogs\render().
const OUTSIDE_LABEL_AFTER = 3 |
const INSIDE_LABEL_BEFORE = 0 |
const INSIDE_LABEL_AFTER = 1 |
const OUTSIDE_TEXT_BEFORE = 2 |
const OUTSIDE_TEXT_AFTER = 3 |