PHP Class Gc\Document\Collection

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

Protected Properties

Property Type Description
$name string Table name

Public Methods

Method Description
getAvailableChildren ( ) : array Return available children
getAvailableDocuments ( ) : array Return available Documents
getChildren ( ) : array (non-PHPdoc)
getEditUrl ( ) : mixed (non-PHPdoc)
getIcon ( ) : string (non-PHPdoc)
getId ( ) : boolean (non-PHPdoc)
getIterableId ( ) : string (non-PHPdoc)
getName ( ) : string (non-PHPdoc)
getParent ( ) : boolean (non-PHPdoc)
getSelect ( ) : array Return array for input select
load ( integer $parentId = null ) : Collection Load document collection

Protected Methods

Method Description
setDocuments ( ) : Collection Initialize documents

Method Details

getAvailableChildren() public method

Return available children
public getAvailableChildren ( ) : array
return array

getAvailableDocuments() public method

Return available Documents
public getAvailableDocuments ( ) : array
return array

getChildren() public method

(non-PHPdoc)
See also: include Gc\Component\IterableInterface#getChildren()
public getChildren ( ) : array
return array

getEditUrl() public method

(non-PHPdoc)
See also: include Gc\Component\IterableInterface#getEditUrl()
public getEditUrl ( ) : mixed
return mixed

getIcon() public method

(non-PHPdoc)
See also: include Gc\Component\IterableInterface#getIcon()
public getIcon ( ) : string
return string

getId() public method

(non-PHPdoc)
See also: include Gc\Component\IterableInterface#getId()
public getId ( ) : boolean
return boolean

getIterableId() public method

(non-PHPdoc)
See also: include Gc\Component\IterableInterface#getIterableId()
public getIterableId ( ) : string
return string

getName() public method

(non-PHPdoc)
See also: include Gc\Component\IterableInterface#getName()
public getName ( ) : string
return string

getParent() public method

(non-PHPdoc)
See also: include Gc\Component\IterableInterface#getParent()
public getParent ( ) : boolean
return boolean

getSelect() public method

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

load() public method

Load document collection
public load ( integer $parentId = null ) : Collection
$parentId integer Parent id
return Collection

setDocuments() protected method

Initialize documents
protected setDocuments ( ) : Collection
return Collection

Property Details

$name protected property

Table name
protected string $name
return string