Exemplo n.º 1
0
 /**
  * @constuctor
  *
  * @param	string $identifier form identifier
  * @param	string $query query
  */
 public function __construct($identifier, $query)
 {
     parent::__construct($identifier);
     $this->mode = 'search/classic';
     $this->query = $query;
     $this->queryLimit = ' LIMIT 0,10';
 }
Exemplo n.º 2
0
 /**
  * @constuctor
  *
  * @param	string $identifier form identifier
  */
 public function __construct($identifier, \TYPO3\CMS\Extbase\Persistence\Repository $repository)
 {
     parent::__construct($identifier);
     $this->repository = $repository;
     $this->mode = 'search/extbase';
     $this->defaultClause = [];
 }