예제 #1
0
파일: Save.php 프로젝트: pleminh/Gemtoo
 /**
  * Save constructor.
  * @param JsHelper $jsHelper
  * @param ImageModel $imageModel
  * @param FileModel $fileModel
  * @param Upload $uploadModel
  * @param Registry $registry
  * @param ArticleFactory $articleFactory
  * @param RedirectFactory $resultRedirectFactory
  * @param Date $dateFilter
  * @param Context $context
  */
 public function __construct(JsHelper $jsHelper, ImageModel $imageModel, FileModel $fileModel, Upload $uploadModel, Registry $registry, ArticleFactory $articleFactory, RedirectFactory $resultRedirectFactory, Date $dateFilter, Context $context)
 {
     $this->jsHelper = $jsHelper;
     $this->imageModel = $imageModel;
     $this->fileModel = $fileModel;
     $this->uploadModel = $uploadModel;
     parent::__construct($registry, $articleFactory, $resultRedirectFactory, $dateFilter, $context);
 }
예제 #2
0
파일: Products.php 프로젝트: pleminh/Gemtoo
 /**
  * Products constructor.
  * @param LayoutFactory $resultLayoutFactory
  * @param Registry $registry
  * @param ArticleFactory $articleFactory
  * @param RedirectFactory $resultRedirectFactory
  * @param Date $dateFilter
  * @param Context $context
  */
 public function __construct(LayoutFactory $resultLayoutFactory, Registry $registry, ArticleFactory $articleFactory, RedirectFactory $resultRedirectFactory, Date $dateFilter, Context $context)
 {
     $this->resultLayoutFactory = $resultLayoutFactory;
     parent::__construct($registry, $articleFactory, $resultRedirectFactory, $dateFilter, $context);
 }
예제 #3
0
 /**
  * MassAction constructor.
  * @param Filter $filter
  * @param CollectionFactory $collectionFactory
  * @param Registry $registry
  * @param ArticleFactory $articleFactory
  * @param RedirectFactory $resultRedirectFactory
  * @param Date $dateFilter
  * @param Context $context
  */
 public function __construct(Filter $filter, CollectionFactory $collectionFactory, Registry $registry, ArticleFactory $articleFactory, RedirectFactory $resultRedirectFactory, Date $dateFilter, Context $context)
 {
     $this->filter = $filter;
     $this->collectionFactory = $collectionFactory;
     parent::__construct($registry, $articleFactory, $resultRedirectFactory, $dateFilter, $context);
 }
예제 #4
0
파일: Edit.php 프로젝트: pleminh/Gemtoo
 /**
  * Edit constructor.
  * @param Registry $registry
  * @param PageFactory $resultPageFactory
  * @param ArticleFactory $articleFactory
  * @param BackendSession $backendSession
  * @param RedirectFactory $resultRedirectFactory
  * @param Date $dateFilter
  * @param Context $context
  */
 public function __construct(Registry $registry, PageFactory $resultPageFactory, ArticleFactory $articleFactory, BackendSession $backendSession, RedirectFactory $resultRedirectFactory, Date $dateFilter, Context $context)
 {
     $this->backendSession = $backendSession;
     $this->resultPageFactory = $resultPageFactory;
     parent::__construct($registry, $articleFactory, $resultRedirectFactory, $dateFilter, $context);
 }