Exemplo n.º 1
0
Arquivo: Pics.php Projeto: acp3/cms
 /**
  * Pics constructor.
  *
  * @param \ACP3\Core\Controller\Context\FrontendContext      $context
  * @param \ACP3\Core\Date                                    $date
  * @param \ACP3\Modules\ACP3\Gallery\Model\Repository\GalleryRepository $galleryRepository
  * @param \ACP3\Modules\ACP3\Gallery\Cache                   $galleryCache
  */
 public function __construct(Core\Controller\Context\FrontendContext $context, Core\Date $date, Gallery\Model\Repository\GalleryRepository $galleryRepository, Gallery\Cache $galleryCache)
 {
     parent::__construct($context);
     $this->date = $date;
     $this->galleryRepository = $galleryRepository;
     $this->galleryCache = $galleryCache;
 }
Exemplo n.º 2
0
Arquivo: Index.php Projeto: acp3/cms
 /**
  * Index constructor.
  *
  * @param \ACP3\Core\Controller\Context\FrontendContext      $context
  * @param \ACP3\Core\Date                                    $date
  * @param \ACP3\Core\Pagination                              $pagination
  * @param \ACP3\Modules\ACP3\Gallery\Model\Repository\GalleryRepository $galleryRepository
  */
 public function __construct(Core\Controller\Context\FrontendContext $context, Core\Date $date, Core\Pagination $pagination, Gallery\Model\Repository\GalleryRepository $galleryRepository)
 {
     parent::__construct($context);
     $this->date = $date;
     $this->pagination = $pagination;
     $this->galleryRepository = $galleryRepository;
 }
Exemplo n.º 3
0
Arquivo: Image.php Projeto: acp3/cms
 /**
  * Image constructor.
  *
  * @param \ACP3\Core\Controller\Context\FrontendContext      $context
  * @param \ACP3\Modules\ACP3\Gallery\Model\Repository\PictureRepository $pictureRepository
  */
 public function __construct(Core\Controller\Context\FrontendContext $context, Gallery\Model\Repository\PictureRepository $pictureRepository)
 {
     parent::__construct($context);
     $this->pictureRepository = $pictureRepository;
 }