PHP Class Bolt\Storage\Field\Collection\FieldCollection

@author Ross Riley
Inheritance: extends Doctrine\Common\Collections\AbstractLazyCollection
Afficher le fichier Open project: bolt/bolt Class Usage Examples

Méthodes publiques

Свойство Type Description
$references

Protected Properties

Свойство Type Description
$em
$grouping
$toRemove

Méthodes publiques

Méthode Description
__construct ( array $references = [], EntityManager $em = null )
add ( mixed $element ) : boolean
get ( $key ) : mixed Helper method to get the value for a specific field this is compatible with content.get(contentkey) calls from twig.
getExisting ( ) : array
getNew ( ) : array
setGrouping ( mixed $grouping )

Méthodes protégées

Méthode Description
doInitialize ( ) Handles the conversion of references to entities.

Method Details

__construct() public méthode

public __construct ( array $references = [], EntityManager $em = null )
$references array
$em Bolt\Storage\EntityManager

add() public méthode

public add ( mixed $element ) : boolean
$element mixed
Résultat boolean

doInitialize() protected méthode

Handles the conversion of references to entities.
protected doInitialize ( )

get() public méthode

Helper method to get the value for a specific field this is compatible with content.get(contentkey) calls from twig.
public get ( $key ) : mixed
$key
Résultat mixed

getExisting() public méthode

public getExisting ( ) : array
Résultat array

getNew() public méthode

public getNew ( ) : array
Résultat array

setGrouping() public méthode

public setGrouping ( mixed $grouping )
$grouping mixed

Property Details

$em protected_oe property

protected $em

$grouping protected_oe property

protected $grouping

$references public_oe property

public $references

$toRemove protected_oe property

protected $toRemove