Lines Matching refs:config
24 protected $config;
38 * @param array $config The parsed configuration for this search
41 public function __construct($config, $dynamic = true)
46 if (!empty($config['schemas'])) foreach ($config['schemas'] as $schema) {
49 if (!empty($config['cols'])) foreach ($config['cols'] as $col) {
55 if (!empty($config['filters'])) $this->cacheFlag = $this->determineCacheFlag($config['filters']);
58 if (!empty($config['filter'])) foreach ($config['filter'] as $filter) {
62 if (!empty($config['sort'])) foreach ($config['sort'] as $sort) {
66 if (!empty($config['limit'])) {
67 $this->setLimit($config['limit']);
70 if (!empty($config['offset'])) {
71 $this->setOffset($config['offset']);
80 $this->config = $config;
94 if (is_array($filter)) $filter = $filter[2]; // this is the format we get fro the config parser
257 * Get the config this search was initialized with
265 return $this->config;