Exemple #1
0
 /**
  * @param \Shopware\Models\Newsletter\Container $container
  * @return \Shopware\Models\Newsletter\Container
  */
 public function setContainer($container)
 {
     $this->container = $container;
     $container->setType('ctArticles');
 }
Exemple #2
0
 /**
  * @param \Shopware\Models\Newsletter\Container $container
  * @return \Shopware\Models\Newsletter\Container
  */
 public function setContainer($container)
 {
     $this->container = $container;
     $container->setType('ctBanner');
     //        return $this->setOneToOne($container, '\Shopware\Models\Newsletter\Container', 'container', 'banner');
 }
Exemple #3
0
 /**
  * @param \Shopware\Models\Newsletter\Container $container
  * @param string $type
  * @return \Shopware\Models\Newsletter\Container
  */
 public function setContainer($container, $type = 'ctText')
 {
     $this->container = $container;
     $container->setType($type);
     //        return $this->setOneToOne($container, '\Shopware\Models\Newsletter\Container', 'container', 'text');
 }