@@ -29,14 +29,14 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function init() |
| 31 | 31 | { |
| 32 | - // Array |
|
| 33 | - $adapter = new \Bluz\Grid\Source\SqlSource(); |
|
| 34 | - $adapter->setSource('SELECT * FROM options'); |
|
| 32 | + // Array |
|
| 33 | + $adapter = new \Bluz\Grid\Source\SqlSource(); |
|
| 34 | + $adapter->setSource('SELECT * FROM options'); |
|
| 35 | 35 | |
| 36 | - $this->setAdapter($adapter); |
|
| 37 | - $this->setDefaultLimit(25); |
|
| 38 | - $this->setAllowOrders(['id', 'key', 'namespace', 'value', 'created', 'deleted']); |
|
| 36 | + $this->setAdapter($adapter); |
|
| 37 | + $this->setDefaultLimit(25); |
|
| 38 | + $this->setAllowOrders(['id', 'key', 'namespace', 'value', 'created', 'deleted']); |
|
| 39 | 39 | |
| 40 | - return $this; |
|
| 40 | + return $this; |
|
| 41 | 41 | } |
| 42 | 42 | } |