PHP Class Gc\Document\Collection

Inheritance: extends Gc\Db\AbstractTable, implements Gc\Component\IterableInterface
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Свойство Type Description
$name string Table name

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
setDocuments ( ) : Collection Initialize documents

Method Details

getAvailableChildren() public méthode

Return available children
public getAvailableChildren ( ) : array
Résultat array

getAvailableDocuments() public méthode

Return available Documents
public getAvailableDocuments ( ) : array
Résultat array

getChildren() public méthode

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

getEditUrl() public méthode

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

getIcon() public méthode

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

getId() public méthode

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

getIterableId() public méthode

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

getName() public méthode

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

getParent() public méthode

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

getSelect() public méthode

Return array for input select
public getSelect ( ) : array
Résultat array

load() public méthode

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

setDocuments() protected méthode

Initialize documents
protected setDocuments ( ) : Collection
Résultat Collection

Property Details

$name protected_oe property

Table name
protected string $name
Résultat string