@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | $title = $escape($button->getTitle()); |
| 32 | 32 | $html = "<a href='$url' $attributeString>$title</a> "; |
| 33 | 33 | $js = $button->getJs(); |
| 34 | - return ['html' => $html,'js' => $js]; |
|
| 34 | + return ['html' => $html, 'js' => $js]; |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | $escape = $view->plugin('escapeHtml'); |
| 46 | 46 | $res = ''; |
| 47 | 47 | foreach ($attributes as $name=>$value) { |
| 48 | - $res .= $escape($name) . '="'.$escape($value).'" '; |
|
| 48 | + $res .= $escape($name).'="'.$escape($value).'" '; |
|
| 49 | 49 | } |
| 50 | 50 | return $res; |
| 51 | 51 | } |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | class ShowHideColumns extends Simple |
| 16 | 16 | { |
| 17 | - protected $name ='showhidecolums'; |
|
| 17 | + protected $name = 'showhidecolums'; |
|
| 18 | 18 | |
| 19 | 19 | protected $title = 'Столбцы'; |
| 20 | 20 | |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | public function __construct($options) |
| 44 | 44 | { |
| 45 | 45 | parent::__construct($options); |
| 46 | - $this->setJs(preg_replace('/%msSearchable%/', (int)$this->msSearchable , $this->js)); |
|
| 46 | + $this->setJs(preg_replace('/%msSearchable%/', (int)$this->msSearchable, $this->js)); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | public function setMsSearchable($msSearchable) |