Example #1
0
 /**
  * (non-PHPdoc)
  * @see Classes/Controller/Tx_PtExtlist_Controller_AbstractController::initializeAction()
  */
 public function initializeAction()
 {
     parent::initializeAction();
     $this->pagerIdentifier = empty($this->settings['pagerIdentifier']) ? 'default' : $this->settings['pagerIdentifier'];
     $this->templatePathAndFileName = $this->configurationBuilder->buildPagerConfiguration()->getPagerConfig($this->pagerIdentifier)->getTemplatePath();
     $this->pagerCollection = $this->getPagerCollectionInstance();
 }
Example #2
0
 /**
  * @return void
  */
 public function initializeAction()
 {
     parent::initializeAction();
     $this->exportListIdentifier = $this->settings['exportListIdentifier'];
     if (!$this->exportListIdentifier) {
         $this->exportListIdentifier = $this->listIdentifier;
     }
     Tx_PtExtbase_Assertions_Assert::isNotEmptyString($this->exportListIdentifier, array('message' => 'No export list identifier set.', 1316446015));
 }
 /**
  * Initialize the Controller
  *
  * @param array $settings Settings container of the current extension
  * @return void
  */
 public function initializeAction()
 {
     parent::initializeAction();
     Tx_PtExtbase_Assertions_Assert::isNotEmptyString($this->settings['filterboxIdentifier'], array('message' => 'No filterbox identifier has been set. Set filterbox identifier in flexform! 1277889418'));
     $this->filterboxIdentifier = $this->settings['filterboxIdentifier'];
     $this->filterboxCollection = $this->dataBackend->getFilterboxCollection();
     $this->filterbox = $this->filterboxCollection->getFilterboxByFilterboxIdentifier($this->filterboxIdentifier, true);
     $this->pagerCollection = $this->dataBackend->getPagerCollection();
 }
 /**
  * Initializes controller
  */
 public function initializeAction()
 {
     parent::initializeAction();
     $this->rendererChain = $this->rendererChainFactory->getRendererChain($this->configurationBuilder->buildRendererChainConfiguration());
 }
 /**
  * Initialize this controller
  */
 public function initializeAction()
 {
     parent::initializeAction();
     $this->initFilterBox();
     $this->initPager();
 }
 /**
  * Initializes and sets dependent objects
  *
  */
 public function initializeAction()
 {
     parent::initializeAction();
     $this->bookmarkConfiguration = $this->configurationBuilder->buildBookmarkConfiguration();
 }
 /**
  * Overwrites initAction for setting properties
  * and enabling easy testing
  */
 public function initializeAction()
 {
     parent::initializeAction();
     $this->filterboxCollection = $this->dataBackend->getFilterboxCollection();
 }