コード例 #1
0
 public function initialise(\TestDbAcle\ServiceLocator $serviceLocator)
 {
     $this->parser = $serviceLocator->get('parser');
     //$this->filterQueue = $serviceLocator->get('filterQueue');
     $this->tableList = $serviceLocator->get('tableList');
     $this->pdoFacade = $serviceLocator->get('pdoFacade');
     $this->tableFactory = $serviceLocator->get('tableFactory');
     $this->filterQueue = new \TestDbAcle\Filter\FilterQueue();
     $this->filterQueue->addRowFilter(new \TestDbAcle\Filter\PlaceholderRowFilter($this->placeHolders));
 }
コード例 #2
0
 public function initialise(\TestDbAcle\ServiceLocator $serviceLocator)
 {
     $this->parser = $serviceLocator->get('parser');
     $this->filterQueue = $serviceLocator->createNew('dataInserterFilterQueue');
     $this->dataInserter = $serviceLocator->get('dataInserter');
     $this->tableList = $serviceLocator->get('tableList');
     $this->tableFactory = $serviceLocator->get('tableFactory');
     if ($this->placeHolders) {
         $this->filterQueue->addRowFilter(new \TestDbAcle\Filter\PlaceholderRowFilter($this->placeHolders));
     }
 }
コード例 #3
0
 public function initialise(\TestDbAcle\ServiceLocator $serviceLocator)
 {
     $this->pdoFacade = $serviceLocator->get('pdoFacade');
 }
コード例 #4
0
 public function initialise(\TestDbAcle\ServiceLocator $serviceLocator)
 {
     $this->parser = $serviceLocator->get('parser');
     $this->filterQueue = new \TestDbAcle\Filter\FilterQueue();
     $this->filterQueue->addRowFilter(new \TestDbAcle\Filter\PlaceholderRowFilter($this->placeHolders));
 }