@@ -100,7 +100,6 @@ |
||
| 100 | 100 | * Sets orientation for the $route. |
| 101 | 101 | * |
| 102 | 102 | * @param string $route |
| 103 | - * @param string $orientation |
|
| 104 | 103 | */ |
| 105 | 104 | public function set($route, $options = []) |
| 106 | 105 | { |
@@ -51,6 +51,10 @@ |
||
| 51 | 51 | return ArrayHelper::map($models, $from, $to, $group); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $name |
|
| 56 | + * @param string $translate |
|
| 57 | + */ |
|
| 54 | 58 | public static function findCached($name, $translate = null, $options = []) |
| 55 | 59 | { |
| 56 | 60 | if ($translate === null) { |
@@ -21,11 +21,17 @@ |
||
| 21 | 21 | |
| 22 | 22 | public $options = []; |
| 23 | 23 | |
| 24 | + /** |
|
| 25 | + * @param string $name |
|
| 26 | + */ |
|
| 24 | 27 | public static function i($name, $params = []) |
| 25 | 28 | { |
| 26 | 29 | return self::build('i', $name, $params); |
| 27 | 30 | } |
| 28 | 31 | |
| 32 | + /** |
|
| 33 | + * @param string $tag |
|
| 34 | + */ |
|
| 29 | 35 | public static function build($tag, $name, $params = []) |
| 30 | 36 | { |
| 31 | 37 | $class = get_called_class(); |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use hiqdev\higrid\representations\RepresentationCollectionInterface; |
| 17 | 17 | use Yii; |
| 18 | 18 | use yii\base\Behavior; |
| 19 | -use yii\base\InvalidConfigException; |
|
| 20 | 19 | use yii\web\Controller; |
| 21 | 20 | |
| 22 | 21 | class UiOptionsBehavior extends Behavior |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | private $module; |
| 20 | 20 | private $controller; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $controller |
|
| 24 | + */ |
|
| 22 | 25 | public function __construct($module, $controller) |
| 23 | 26 | { |
| 24 | 27 | $this->module = $module; |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * @param GridLegendInterface $legendItem |
| 17 | - * @param array $config |
|
| 18 | 17 | * @return self |
| 19 | 18 | */ |
| 20 | 19 | public static function create(GridLegendInterface $legendItem) |