class ObjectManager (View source)

Properties

protected $entityManager
protected $app

Methods

__construct(Application $app, EntityManagerInterface $entityManager)

No description

getEntities($asObject = false)

No description

getList($entityHandle, $asObject = false)

No description

refresh($object)

No description

buildObject($handle, $plural_handle, $name, Package $pkg = null)

No description

buildEntry($entity)

No description

object
getEntry(int|string $entryID)

Entry ID may be the integer ID or the public identifier

object
getEntryByPublicIdentifier($publicIdentifier)

No description

deleteEntry(int|Entry $entry)

No description

getObjectByID($entityID)

No description

getObjectByHandle($entityHandle)

No description

getEntityController(Entity $entity)

No description

Details

__construct(Application $app, EntityManagerInterface $entityManager)

No description

Parameters

Application $app
EntityManagerInterface $entityManager

getEntities($asObject = false)

No description

Parameters

$asObject

getList($entityHandle, $asObject = false)

No description

Parameters

$entityHandle
$asObject

refresh($object)

No description

Parameters

$object

buildObject($handle, $plural_handle, $name, Package $pkg = null)

No description

Parameters

$handle
$plural_handle
$name
Package $pkg

buildEntry($entity)

No description

Parameters

$entity

object getEntry(int|string $entryID)

Entry ID may be the integer ID or the public identifier

Parameters

int|string $entryID

Return Value

object

object getEntryByPublicIdentifier($publicIdentifier)

No description

Parameters

$publicIdentifier

Return Value

object

deleteEntry(int|Entry $entry)

No description

Parameters

int|Entry $entry

getObjectByID($entityID)

No description

Parameters

$entityID

getObjectByHandle($entityHandle)

No description

Parameters

$entityHandle

getEntityController(Entity $entity)

No description

Parameters

Entity $entity