/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }