PHP Class Gc\Datatype\Collection

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

Protected Properties

Property Type Description
$datatypes array Collection of \Gc\Datatype\Model
$name string Table name

Public Methods

Method Description
getDatatypes ( ) : array Get datatypes
getSelect ( ) : array Return array of datatypes for input select
init ( ) : void Initialize datatype collection

Protected Methods

Method Description
setDatatypes ( ) : Collection Set datatype collection

Method Details

getDatatypes() public method

Get datatypes
public getDatatypes ( ) : array
return array

getSelect() public method

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

init() public method

Initialize datatype collection
public init ( ) : void
return void

setDatatypes() protected method

Set datatype collection
protected setDatatypes ( ) : Collection
return Collection

Property Details

$datatypes protected property

Collection of \Gc\Datatype\Model
protected array $datatypes
return array

$name protected property

Table name
protected string $name
return string