コード例 #1
0
ファイル: Article.php プロジェクト: GerDner/luck-docker
 /**
  * @param \Shopware\Models\Newsletter\Container $container
  * @return \Shopware\Models\Newsletter\Container
  */
 public function setContainer($container)
 {
     $this->container = $container;
     $container->setType('ctArticles');
 }
コード例 #2
0
ファイル: Banner.php プロジェクト: GerDner/luck-docker
 /**
  * @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');
 }
コード例 #3
0
ファイル: Text.php プロジェクト: ClaudioThomas/shopware-4
 /**
  * @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');
 }