Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
FOF30
Form
FieldInterface
setForm
FOF30\Form\FieldInterface::setForm PHP Method
FieldInterface Interface Documentation
Show file
Open project: akeeba/fof
setForm()
public
method
Method to attach a JForm object to the field. Actually, we need a FOF Form object but there's no way to provide that type hint without issuing a string standards notice in PHP :(
public
setForm
(
JForm
$form
) :
FOF30\Form\FieldInterface
$form
JForm
The JForm object to attach to the form field.
return
FOF30\Form\FieldInterface
The form field object so that the method can be used in a chain.
public function setForm(\JForm $form);
FieldInterface
getAttribute
getRepeatable
getStatic
renderField
setForm
setValue
setup