public function init() { $this->doctrine = Zend_Registry::get('doctrine'); $this->em = $this->doctrine->getEntityManager(); $this->_categoria = $this->em->getRepository('\\Models\\Entity\\Categoria'); $this->_fabricante = $this->em->getRepository('\\Models\\Entity\\Fabricante'); $this->_producto = $this->em->getRepository('\\Models\\Entity\\Producto'); }
public function init() { $this->doctrine = Zend_Registry::get('doctrine'); $this->em = $this->doctrine->getEntityManager(); $this->_article = $this->em->getRepository('application\\models\\Article'); }
public function init() { $this->doctrine = Zend_Registry::get('doctrine'); $this->entityManager = $this->doctrine->getEntityManager(); $this->standRepository = $this->entityManager->getRepository('\\NOLASnowball\\Entity\\Stand'); }