@@ -29,11 +29,11 @@ discard block |
||
| 29 | 29 | // parameter represents the DataTables column identifier. In this case simple |
| 30 | 30 | // indexes |
| 31 | 31 | $columns = array( |
| 32 | - array( 'db' => 'id', 'dt' => 0 ), |
|
| 33 | - array( 'db' => 'firstname', 'dt' => 1 ), |
|
| 34 | - array( 'db' => 'surname', 'dt' => 2 ), |
|
| 35 | - array( 'db' => 'zip', 'dt' => 3 ), |
|
| 36 | - array( 'db' => 'country', 'dt' => 4 ) |
|
| 32 | + array('db' => 'id', 'dt' => 0), |
|
| 33 | + array('db' => 'firstname', 'dt' => 1), |
|
| 34 | + array('db' => 'surname', 'dt' => 2), |
|
| 35 | + array('db' => 'zip', 'dt' => 3), |
|
| 36 | + array('db' => 'country', 'dt' => 4) |
|
| 37 | 37 | ); |
| 38 | 38 | |
| 39 | 39 | // SQL server connection information |
@@ -50,9 +50,9 @@ discard block |
||
| 50 | 50 | * server-side, there is no need to edit below this line. |
| 51 | 51 | */ |
| 52 | 52 | |
| 53 | -require( '../../../../examples/server_side/scripts/ssp.class.php' ); |
|
| 53 | +require('../../../../examples/server_side/scripts/ssp.class.php'); |
|
| 54 | 54 | |
| 55 | 55 | echo json_encode( |
| 56 | - SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) |
|
| 56 | + SSP::simple($_GET, $sql_details, $table, $primaryKey, $columns) |
|
| 57 | 57 | ); |
| 58 | 58 | |
@@ -191,22 +191,22 @@ |
||
| 191 | 191 | protected function setupConsoleCommands() |
| 192 | 192 | { |
| 193 | 193 | // Share dashboard:install command with the application. |
| 194 | - $this->app['dashboard::install'] = $this->app->share(function () { |
|
| 194 | + $this->app['dashboard::install'] = $this->app->share(function() { |
|
| 195 | 195 | return new InstallerCommand(); |
| 196 | 196 | }); |
| 197 | 197 | |
| 198 | 198 | // Share dashboard:setup command with the application. |
| 199 | - $this->app['dashboard::setup'] = $this->app->share(function () { |
|
| 199 | + $this->app['dashboard::setup'] = $this->app->share(function() { |
|
| 200 | 200 | return new SetupCommand(); |
| 201 | 201 | }); |
| 202 | 202 | |
| 203 | 203 | // Share dashboard:fresh command with the application. |
| 204 | - $this->app['dashboard::fresh'] = $this->app->share(function () { |
|
| 204 | + $this->app['dashboard::fresh'] = $this->app->share(function() { |
|
| 205 | 205 | return new FreshCommand(); |
| 206 | 206 | }); |
| 207 | 207 | |
| 208 | 208 | // Share dashboard:uninstall command with the application. |
| 209 | - $this->app['dashboard::uninstall'] = $this->app->share(function () { |
|
| 209 | + $this->app['dashboard::uninstall'] = $this->app->share(function() { |
|
| 210 | 210 | return new UninstallCommand(); |
| 211 | 211 | }); |
| 212 | 212 | |