PHP Class Gc\DocumentType\Collection

Inheritance: extends Gc\Db\AbstractTable
Show file Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$name string Table name

Public Methods

Method Description
getSelect ( ) : array Return array for input select
init ( integer $parentId = null ) : void Load document type collection

Protected Methods

Method Description
setDocumentTypes ( ) : Collection Initialize document types

Method Details

getSelect() public method

Return array for input select
public getSelect ( ) : array
return array

init() public method

Load document type collection
public init ( integer $parentId = null ) : void
$parentId integer Parent id
return void

setDocumentTypes() protected method

Initialize document types
protected setDocumentTypes ( ) : Collection
return Gc\Document\Collection

Property Details

$name protected property

Table name
protected string $name
return string