@@ -141,6 +141,9 @@ discard block |
||
| 141 | 141 | $this->view->cssFiles[$file] = self::cssFile($file, $this->view->cssOptions); |
| 142 | 142 | } |
| 143 | 143 | |
| 144 | + /** |
|
| 145 | + * @param string $url |
|
| 146 | + */ |
|
| 144 | 147 | public static function cssFile($url, $options = []) |
| 145 | 148 | { |
| 146 | 149 | if (!isset($options['rel'])) { |
@@ -171,6 +174,10 @@ discard block |
||
| 171 | 174 | return Html::tag('link', '', $options); |
| 172 | 175 | } |
| 173 | 176 | |
| 177 | + /** |
|
| 178 | + * @param string $content |
|
| 179 | + * @param string $condition |
|
| 180 | + */ |
|
| 174 | 181 | private static function wrapIntoCondition($content, $condition) |
| 175 | 182 | { |
| 176 | 183 | if (strpos($condition, '!IE') !== false) { |