AttributeFormTrait

This is the 'form' attribute trait.

This trait has been created to share common code between form elements classes, in this case the declaration of the 'form' attribute and its set/get methods.

Tags
see
AttributeFormTrait::setForm()
see
AttributeFormTrait::getForm()

Table of Contents

$form  : string
getForm() This method returns the current value of the 'form' attribute.  : string
setForm() This method sets the 'form' attribute with the given value and returns self.  : self

Properties

Methods

getForm()

This method returns the current value of the 'form' attribute.

public getForm() : string
Return values
string

setForm()

This method sets the 'form' attribute with the given value and returns self.

public setForm(string $form) : self
Parameters
$form : string
Return values
self

Search results