diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-02-15 22:17:10 +0300 |
---|---|---|
committer | StyleCI Bot <bot@styleci.io> | 2018-02-15 22:17:10 +0300 |
commit | b0dfd36560280099ec02aac7e46f4c36166f0b7e (patch) | |
tree | b338938e9412d108e1e4bb60e4ea59d33cbc6f7d /src/controllers/AggregatesController.php | |
parent | b4944af333e89b9aa9d3bb5e975a4787599a40fc (diff) |
Apply fixes from StyleCI
[ci skip] [skip ci]
Diffstat (limited to 'src/controllers/AggregatesController.php')
-rw-r--r-- | src/controllers/AggregatesController.php | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/controllers/AggregatesController.php b/src/controllers/AggregatesController.php index 5feec3a7..d59b0107 100644 --- a/src/controllers/AggregatesController.php +++ b/src/controllers/AggregatesController.php @@ -103,8 +103,8 @@ class AggregatesController extends BaseController 'aggrname' => [ 'title' => $lang['strname'], 'field' => Decorator::field('proname'), - 'url' => \SUBFOLDER."/redirect/aggregate?action=properties&{$this->misc->href}&", - 'vars' => ['aggrname' => 'proname', 'aggrtype' => 'proargtypes'], + 'url' => \SUBFOLDER."/redirect/aggregate?action=properties&{$this->misc->href}&", + 'vars' => ['aggrname' => 'proname', 'aggrtype' => 'proargtypes'], ], 'aggrtype' => [ 'title' => $lang['strtype'], @@ -130,11 +130,11 @@ class AggregatesController extends BaseController $actions = [ 'alter' => [ 'content' => $lang['stralter'], - 'attr' => [ + 'attr' => [ 'href' => [ - 'url' => 'aggregates.php', + 'url' => 'aggregates.php', 'urlvars' => [ - 'action' => 'alter', + 'action' => 'alter', 'aggrname' => Decorator::field('proname'), 'aggrtype' => Decorator::field('proargtypes'), ], @@ -143,11 +143,11 @@ class AggregatesController extends BaseController ], 'drop' => [ 'content' => $lang['strdrop'], - 'attr' => [ + 'attr' => [ 'href' => [ - 'url' => 'aggregates.php', + 'url' => 'aggregates.php', 'urlvars' => [ - 'action' => 'confirm_drop', + 'action' => 'confirm_drop', 'aggrname' => Decorator::field('proname'), 'aggrtype' => Decorator::field('proargtypes'), ], @@ -166,12 +166,12 @@ class AggregatesController extends BaseController 'create' => [ 'attr' => [ 'href' => [ - 'url' => 'aggregates.php', + 'url' => 'aggregates.php', 'urlvars' => [ - 'action' => 'create', - 'server' => $_REQUEST['server'], + 'action' => 'create', + 'server' => $_REQUEST['server'], 'database' => $_REQUEST['database'], - 'schema' => $_REQUEST['schema'], + 'schema' => $_REQUEST['schema'], ], ], ], @@ -190,18 +190,18 @@ class AggregatesController extends BaseController $aggregates = $data->getAggregates(); - $proto = Decorator::concat(Decorator::field('proname'), ' (', Decorator::field('proargtypes'), ')'); + $proto = Decorator::concat(Decorator::field('proname'), ' (', Decorator::field('proargtypes'), ')'); $reqvars = $this->misc->getRequestVars('aggregate'); $attrs = [ - 'text' => $proto, - 'icon' => 'Aggregate', + 'text' => $proto, + 'icon' => 'Aggregate', 'toolTip' => Decorator::field('aggcomment'), - 'action' => Decorator::redirecturl( + 'action' => Decorator::redirecturl( 'redirect.php', $reqvars, [ - 'action' => 'properties', + 'action' => 'properties', 'aggrname' => Decorator::field('proname'), 'aggrtype' => Decorator::field('proargtypes'), ] @@ -518,11 +518,11 @@ class AggregatesController extends BaseController 'showall' => [ 'attr' => [ 'href' => [ - 'url' => 'aggregates.php', + 'url' => 'aggregates.php', 'urlvars' => [ - 'server' => $_REQUEST['server'], + 'server' => $_REQUEST['server'], 'database' => $_REQUEST['database'], - 'schema' => $_REQUEST['schema'], + 'schema' => $_REQUEST['schema'], ], ], ], @@ -534,12 +534,12 @@ class AggregatesController extends BaseController $navlinks['alter'] = [ 'attr' => [ 'href' => [ - 'url' => 'aggregates.php', + 'url' => 'aggregates.php', 'urlvars' => [ - 'action' => 'alter', - 'server' => $_REQUEST['server'], + 'action' => 'alter', + 'server' => $_REQUEST['server'], 'database' => $_REQUEST['database'], - 'schema' => $_REQUEST['schema'], + 'schema' => $_REQUEST['schema'], 'aggrname' => $_REQUEST['aggrname'], 'aggrtype' => $_REQUEST['aggrtype'], ], @@ -552,12 +552,12 @@ class AggregatesController extends BaseController $navlinks['drop'] = [ 'attr' => [ 'href' => [ - 'url' => 'aggregates.php', + 'url' => 'aggregates.php', 'urlvars' => [ - 'action' => 'confirm_drop', - 'server' => $_REQUEST['server'], + 'action' => 'confirm_drop', + 'server' => $_REQUEST['server'], 'database' => $_REQUEST['database'], - 'schema' => $_REQUEST['schema'], + 'schema' => $_REQUEST['schema'], 'aggrname' => $_REQUEST['aggrname'], 'aggrtype' => $_REQUEST['aggrtype'], ], |