PHP Class Bolt\Storage\Field\Collection\FieldCollection

@author Ross Riley
Inheritance: extends Doctrine\Common\Collections\AbstractLazyCollection
Datei anzeigen Open project: bolt/bolt Class Usage Examples

Public Properties

Property Type Description
$references

Protected Properties

Property Type Description
$em
$grouping
$toRemove

Public Methods

Method 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 )

Protected Methods

Method Description
doInitialize ( ) Handles the conversion of references to entities.

Method Details

__construct() public method

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

add() public method

public add ( mixed $element ) : boolean
$element mixed
return boolean

doInitialize() protected method

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

get() public method

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
return mixed

getExisting() public method

public getExisting ( ) : array
return array

getNew() public method

public getNew ( ) : array
return array

setGrouping() public method

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