PHP Class GcDevelopment\Form\DocumentType

Inheritance: extends Gc\Form\AbstractForm
Datei anzeigen Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$datatypeCollection Gc\Datatype\Collection Datatype collection
$viewCollection Gc\View\Collection View collection

Public Methods

Method Description
addProperty ( mixed $property ) : DocumentType Add property sub form
addTab ( mixed $tab ) : DocumentType Add tab sub form
init ( ) : void Init document type form
setValues ( mixed $element ) : null | DocumentType Set values and create tabs and properties FieldSet from parameter

Protected Methods

Method Description
getInfos ( ) : Zend\Form\FieldSet Initialize infos sub form
getProperties ( ) : Zend\Form\FieldSet Initialize properties sub form
getTabs ( ) : Zend\Form\FieldSet Initialize tabs sub form
getViews ( ) : Zend\Form\FieldSet Initialize views sub form

Method Details

addProperty() public method

Add property sub form
public addProperty ( mixed $property ) : DocumentType
$property mixed \Gc\Property\Model|array
return DocumentType

addTab() public method

Add tab sub form
public addTab ( mixed $tab ) : DocumentType
$tab mixed \Gc\Tab\Model|array
return DocumentType

getInfos() protected method

Initialize infos sub form
protected getInfos ( ) : Zend\Form\FieldSet
return Zend\Form\FieldSet

getProperties() protected method

Initialize properties sub form
protected getProperties ( ) : Zend\Form\FieldSet
return Zend\Form\FieldSet

getTabs() protected method

Initialize tabs sub form
protected getTabs ( ) : Zend\Form\FieldSet
return Zend\Form\FieldSet

getViews() protected method

Initialize views sub form
protected getViews ( ) : Zend\Form\FieldSet
return Zend\Form\FieldSet

init() public method

Init document type form
public init ( ) : void
return void

setValues() public method

Set values and create tabs and properties FieldSet from parameter
public setValues ( mixed $element ) : null | DocumentType
$element mixed \Gc\DocumentType\Model | array
return null | DocumentType

Property Details

$datatypeCollection protected_oe property

Datatype collection
protected Collection,Gc\Datatype $datatypeCollection
return Gc\Datatype\Collection

$viewCollection protected_oe property

View collection
protected Collection,Gc\View $viewCollection
return Gc\View\Collection