PHP Class Action_Helper_Em

Inheritance: extends Zend_Controller_Action_Helper_Abstract
Mostra file Open project: sourcefabric/newscoop

Public Methods

Method Description
getEntityManager ( ) : EntityManager Get entity manager
getRepository ( $entity ) : Doctrine\ORM\EntityRepository Get entity repository
init ( ) Init
setEntityManager ( EntityManager $em ) : Action_Helper_Em Set entity manager

Method Details

getEntityManager() public method

Get entity manager
public getEntityManager ( ) : EntityManager
return Doctrine\ORM\EntityManager

getRepository() public method

Get entity repository
public getRepository ( $entity ) : Doctrine\ORM\EntityRepository
return Doctrine\ORM\EntityRepository

init() public method

Init
public init ( )

setEntityManager() public method

Set entity manager
public setEntityManager ( EntityManager $em ) : Action_Helper_Em
$em Doctrine\ORM\EntityManager
return Action_Helper_Em