Refactor asket_adapter

This commit is contained in:
Romain Neutron
2011-12-28 20:04:39 +01:00
parent bfa8e851c6
commit 646db61ca7
39 changed files with 749 additions and 3623 deletions

View File

@@ -1923,7 +1923,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
$Core = bootstrap::getCore();
$em = $Core->getEntityManager();
$repo = $em->getRepository('\Entities\Baskets');
$repo = $em->getRepository('\Entities\Basket');
/* @var $$repo \Repositories\BasketRepository */
return $repo->findContainingRecord($this);

View File

@@ -225,7 +225,7 @@ class record_preview extends record_adapter
$this->train = $results->get_datas();
break;
case 'BASK':
$this->train = $this->container->get_elements();
$this->train = $this->container->getElements();
break;
case 'REG':
$this->train = $this->container->get_children();