protected function startup() { parent::startup(); $this->orderRoute = $this->createRoute($this->getReflection()->getNamespaceName() . '\\CartEntity'); $this->feedRoute = $this->createRoute($this->getReflection()->getNamespaceName() . '\\FeedEntity'); $this->template = ' Products -------- {foreach $products as $id=>$orders} {foreach $orders as $orderId=>$item} {$item[\'productEntity\']->name} - {$item[\'productEntity\']->category} - {$item[\'sum\']} - {$item[\'typeEntity\']->name} {/foreach} {/foreach} '; $this->mailform = new MailformEntity(); }
protected function startup() { parent::startup(); $this->getConditions(); }