/** * Create new Search Helper * * @param MvcEvent $e * @param string $id * @param Engine $engine */ public function __construct(MvcEvent $e, $id, Engine $engine) { $this->request = $e->getRequest(); $this->registry = Registry::getInstance(); $this->id = $id; $this->query = $engine->getQuery($this->request); $this->config = $engine->getConfig(); $this->labels = $e->getLabels(); }
/** * @return Labels */ public function getLabels() { return $this->event->getLabels(); }
/** * Create new Database Helper * * @param MvcEvent $e */ public function __construct(MvcEvent $e) { $this->request = $e->getRequest(); }
public function __construct(MvcEvent $e) { $this->request = $e->getRequest(); $this->registry = Registry::getInstance(); }