PHP 클래스 Gc\Tab\Collection

상속: extends Gc\Db\AbstractTable
파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$name string Table name

공개 메소드들

메소드 설명
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

메소드 상세

addTab() 공개 메소드

Add tab from array
public addTab ( array $array ) : void
$array array Data
리턴 void

delete() 공개 메소드

Delete tabs
public delete ( ) : boolean
리턴 boolean

getImportableTabs() 공개 메소드

Return all tabs from collection
public getImportableTabs ( integer $documentTypeId ) : array
$documentTypeId integer Document type id
리턴 array

getTabs() 공개 메소드

Return all tabs from collection
public getTabs ( boolean $forceReload = false ) : array
$forceReload boolean Force reload collection
리턴 array

load() 공개 메소드

Initiliaze tab collection
public load ( integer $documentTypeId = null ) : Collection
$documentTypeId integer Optional document type id
리턴 Collection

save() 공개 메소드

Save tabs
public save ( ) : void
리턴 void

setTabs() 공개 메소드

Set tabs
public setTabs ( array $tabs ) : void
$tabs array of \Gc\Tab\Model
리턴 void

프로퍼티 상세

$name 보호되어 있는 프로퍼티

Table name
protected string $name
리턴 string