@@ -36,7 +36,7 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param $m |
|
| 39 | + * @param string $m |
|
| 40 | 40 | * @return string |
| 41 | 41 | */ |
| 42 | 42 | protected function translate($m): string |
@@ -105,6 +105,9 @@ |
||
| 105 | 105 | return $columns; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $name |
|
| 110 | + */ |
|
| 108 | 111 | public function getBooleanColumn($name) { |
| 109 | 112 | return [ |
| 110 | 113 | 'class' => BooleanColumn::class, |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | return '/' . implode('/', $parts); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param \execut\actions\Action $action |
|
| 38 | + */ |
|
| 36 | 39 | public static function createFromAction($action, $helper = null) { |
| 37 | 40 | $controller = $action->controller; |
| 38 | 41 | if ($helper === null) { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param $m |
|
| 39 | + * @param string $m |
|
| 40 | 40 | * @return string |
| 41 | 41 | */ |
| 42 | 42 | protected function translate($m): string |
@@ -181,6 +181,9 @@ |
||
| 181 | 181 | return $first . mb_substr($string, 1, null, $encoding); |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | + /** |
|
| 185 | + * @return string |
|
| 186 | + */ |
|
| 184 | 187 | public function getUniqueId() { |
| 185 | 188 | if ($this->uniqueId) { |
| 186 | 189 | return $this->uniqueId; |