PHP Class Gc\Property\Collection

Inheritance: extends Gc\Db\AbstractTable
Mostrar archivo Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$name string Table name

Public Methods

Method Description
delete ( ) : boolean Delete properties
getProperties ( boolean $forceReload = false ) : array Get properties
load ( integer $documentTypeId = null, integer $tabId = null, integer $documentId = null ) : Collection Load property
save ( ) : boolean Save properties
setProperties ( array $properties ) : Collection Set properties

Method Details

delete() public method

Delete properties
public delete ( ) : boolean
return boolean

getProperties() public method

Get properties
public getProperties ( boolean $forceReload = false ) : array
$forceReload boolean to initiliaze properties
return array

load() public method

Load property
public load ( integer $documentTypeId = null, integer $tabId = null, integer $documentId = null ) : Collection
$documentTypeId integer Optional
$tabId integer Optional
$documentId integer Optional
return Collection

save() public method

Save properties
public save ( ) : boolean
return boolean

setProperties() public method

Set properties
public setProperties ( array $properties ) : Collection
$properties array Properties
return Collection

Property Details

$name protected_oe property

Table name
protected string $name
return string