PHP Class Gc\Tab\Collection

Inheritance: extends Gc\Db\AbstractTable
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Свойство Type Description
$name string Table name

Méthodes publiques

Méthode Description
addTab ( array $array ) : void Add tab from array
delete ( ) : boolean Delete tabs
getImportableTabs ( integer $documentTypeId ) : array Return all tabs from collection
getTabs ( boolean $forceReload = false ) : array Return all tabs from collection
load ( integer $documentTypeId = null ) : Collection Initiliaze tab collection
save ( ) : void Save tabs
setTabs ( array $tabs ) : void Set tabs

Method Details

addTab() public méthode

Add tab from array
public addTab ( array $array ) : void
$array array Data
Résultat void

delete() public méthode

Delete tabs
public delete ( ) : boolean
Résultat boolean

getImportableTabs() public méthode

Return all tabs from collection
public getImportableTabs ( integer $documentTypeId ) : array
$documentTypeId integer Document type id
Résultat array

getTabs() public méthode

Return all tabs from collection
public getTabs ( boolean $forceReload = false ) : array
$forceReload boolean Force reload collection
Résultat array

load() public méthode

Initiliaze tab collection
public load ( integer $documentTypeId = null ) : Collection
$documentTypeId integer Optional document type id
Résultat Collection

save() public méthode

Save tabs
public save ( ) : void
Résultat void

setTabs() public méthode

Set tabs
public setTabs ( array $tabs ) : void
$tabs array of \Gc\Tab\Model
Résultat void

Property Details

$name protected_oe property

Table name
protected string $name
Résultat string