PHP 인터페이스 FOF30\Form\HeaderInterface

파일 보기 프로젝트 열기: akeeba/fof

공개 메소드들

메소드 설명
setForm ( Form $form ) : FOF30\Form\HeaderInterface Method to attach a Form object to the header.
setup ( SimpleXMLElement $element, string $group = null ) : boolean Method to attach a Form object to the header.

메소드 상세

setForm() 공개 메소드

Method to attach a Form object to the header.
부터: 2.0
public setForm ( Form $form ) : FOF30\Form\HeaderInterface
$form Form The Form object to attach to the form field.
리턴 FOF30\Form\HeaderInterface The form field object so that the method can be used in a chain.

setup() 공개 메소드

Method to attach a Form object to the header.
public setup ( SimpleXMLElement $element, string $group = null ) : boolean
$element SimpleXMLElement The SimpleXMLElement object representing the
tag for the form header object.
$group string The header name group control value. This acts as as an array container for the header. For example if the header has name="foo" and the group value is set to "bar" then the full header name would end up being "bar[foo]".
리턴 boolean True on success.