PHP Class GcDevelopment\Form\DocumentType

Inheritance: extends Gc\Form\AbstractForm
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Свойство Type Description
$datatypeCollection Gc\Datatype\Collection Datatype collection
$viewCollection Gc\View\Collection View collection

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

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

addTab() public méthode

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

getInfos() protected méthode

Initialize infos sub form
protected getInfos ( ) : Zend\Form\FieldSet
Résultat Zend\Form\FieldSet

getProperties() protected méthode

Initialize properties sub form
protected getProperties ( ) : Zend\Form\FieldSet
Résultat Zend\Form\FieldSet

getTabs() protected méthode

Initialize tabs sub form
protected getTabs ( ) : Zend\Form\FieldSet
Résultat Zend\Form\FieldSet

getViews() protected méthode

Initialize views sub form
protected getViews ( ) : Zend\Form\FieldSet
Résultat Zend\Form\FieldSet

init() public méthode

Init document type form
public init ( ) : void
Résultat void

setValues() public méthode

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

Property Details

$datatypeCollection protected_oe property

Datatype collection
protected Collection,Gc\Datatype $datatypeCollection
Résultat Gc\Datatype\Collection

$viewCollection protected_oe property

View collection
protected Collection,Gc\View $viewCollection
Résultat Gc\View\Collection