Button
        
        extends Base
    
    
            
            in package
            
        
    
    
    
Button Class
This generates a <button> element. You can customize this button using the meta array. For example, you can add a custom class property to the button like this:
$objForm->addButton(
    "Button label",
    array(
        // Set for example a Twitter Bootstrap class on this button
        "fieldclass" => "btn btn-large"
    )
);
Tags
Table of Contents
Methods
- getDynamicLabelMate() : array<string|int, mixed>
- getDynamicRemoveLabelMate() : array<string|int, mixed>
- getId() : string
- getId() : string
- getLabel() : string
- getMagicMeta() : array<string|int, mixed>
- getMagicReservedMeta() : array<string|int, mixed>
- getParent() : Base
- getReservedFieldMeta() : array<string|int, mixed>
- getReservedLabelMeta() : array<string|int, mixed>
- getReservedMeta() : array<string|int, mixed>
- getTipMeta() : array<string|int, mixed>
- getType() : string
- setConditions() : void
- setId() : void
- setId() : string
- setLabel() : string
- setName() : void
- setParent() : void
- setType() : string
Methods
getDynamicLabelMate()
    public
                    getDynamicLabelMate() : array<string|int, mixed>
    getDynamicLabelMate() Returns the value of $__dynamiclabelmeta
Return values
array<string|int, mixed>getDynamicRemoveLabelMate()
    public
                    getDynamicRemoveLabelMate() : array<string|int, mixed>
    getDynamicRemoveLabelMate() Returns the value of $__dynamicremovelabelmeta
Return values
array<string|int, mixed>getId()
    public
                    getId() : string
    getId() Returns the value of $__id
Return values
stringgetId()
    public
                    getId() : string
    getId() Returns the ID of the Button object
Return values
stringgetLabel()
    public
                    getLabel() : string
    getLabel() Returns the label of the Button object
Return values
stringgetMagicMeta()
    public
                    getMagicMeta() : array<string|int, mixed>
    getMagicMeta() Returns the value of $__magicmeta
Return values
array<string|int, mixed>getMagicReservedMeta()
    public
                    getMagicReservedMeta() : array<string|int, mixed>
    getMagicReservedMeta() Returns the value of $__magicreservedmeta
Return values
array<string|int, mixed>getParent()
    public
                    getParent() : Base
    getParent() Returns the value of $__parent
Return values
BasegetReservedFieldMeta()
    public
                    getReservedFieldMeta() : array<string|int, mixed>
    getReservedFieldMeta() Returns the value of $__reservedfieldmeta
Return values
array<string|int, mixed>getReservedLabelMeta()
    public
                    getReservedLabelMeta() : array<string|int, mixed>
    getReservedLabelMeta() Returns the value of $__reservedlabelmeta
Return values
array<string|int, mixed>getReservedMeta()
    public
                    getReservedMeta() : array<string|int, mixed>
    getReservedMeta() Returns the value of $__reservedmeta
Return values
array<string|int, mixed>getTipMeta()
    public
                    getTipMeta() : array<string|int, mixed>
    getTipMeta() Returns the value of $__tipmeta
Return values
array<string|int, mixed>getType()
    public
                    getType() : string
    getType() Returns the type of the Button object
Return values
stringsetConditions()
    public
                    setConditions() : void
    setConditions(array $value) Overwrites the value of $__conditions
setId()
    public
                    setId() : void
    setId(string $value) Overwrites the value of $__id
setId()
    public
                    setId() : string
    setId($strId) Overwrites the ID of the Button object
Return values
stringsetLabel()
    public
                    setLabel() : string
    setLabel($strLabel) Overwrites the label of the Button object
Return values
stringsetName()
    public
                    setName() : void
    setName(string $value) Overwrites the value of $__name
setParent()
    public
                    setParent() : void
    setParent(Base $value) Overwrites the value of $__parent
setType()
    public
                    setType() : string
    setType($strButtonType = 'submit') Overwrites the type of the Button object. Defaults to 'submit'