Sam
a8d95f429d
Fixes #14636 : Views can now use relative paths even when using themed views
6 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
SilverFire - Dmitry Naumenko
05b85008f8
Updated PHPDocs [skip ci]
7 years ago
Carsten Brandt
e493843b1c
improve `@deprecated` annotations
7 years ago
Sergey Makinen
c382d3e8d4
Fixes #15120 : Refactored dynamic caching introducing `DynamicContentAwareInterface` and `DynamicContentAwareTrait`
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
bscheshirwork
c1b5240888
Added PHPDoc @throws to yii\base\View::renderPhpFile() [skip ci]
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Robert Korulczyk
a50d9d8e3e
Enable `include` rule in php-cs-fixer ( #14418 )
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Paul Klimov
0beb59305c
Fixes #13058 : Fixed caught exception thrown during view file rendering produces wrong output
7 years ago
Alexander Makarov
954c771fdb
Code cleanup ( #13113 )
...
* Simplified code branching, named variable better
* More simple code cleanup
* More consistent line breaks before return statemetns
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
8 years ago
SilverFire - Dmitry Naumenko
eb02b362be
Revert "Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility"
...
This reverts commit f7bd7c2b6b
.
8 years ago
SilverFire - Dmitry Naumenko
f7bd7c2b6b
Replaced `extract()` function usages with custom polyfill in order to fix HHVM compatibility
8 years ago
Alexander Makarov
9f71bf400e
Fixes #12038 : Introduced `yii\base\ViewNotFoundException` which is thrown when views file doesn't exists, used it in `ViewAction`
8 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
Qiang Xue
eec716d88f
Fixes #4040 : Added `$viewFile` and `$params` to the `EVENT_BEFORE_RENDER` and `EVENT_AFTER_RENDER` events for `View`.
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Qiang Xue
b489cada30
guide WIP [skip ci]
10 years ago
Qiang Xue
5b6e79dc14
Fixes #3298 : Supported configuring `View::theme` using a class name
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Qiang Xue
92bd71cd84
Fixes #2912 : Relative view files will be looked for under the directory containing the view currently being rendered
11 years ago
Carsten Brandt
67dd874e0c
renamed console controller optoins param $id to $actionId
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Carsten Brandt
40cb98bb02
updated `@property` annotations
11 years ago
Qiang Xue
992f8edcb0
proper implementation of View::viewFile.
11 years ago
Qiang Xue
97d291ca6a
Added `View::viewFile` and removed `ViewEvent::viewFile`
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
a1f7f8bcbe
Fixes #1335 : support view extension fallback
11 years ago
Qiang Xue
1b504be650
Fixes #1323 : Added View::defaultExtension.
11 years ago
Sergey Gonimar
ff92af3f0b
Fix doc
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Alexander Makarov
927e9dddb4
Refactored View
11 years ago
Qiang Xue
155e9c6cba
minor refactoring of view resolving code.
11 years ago
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
11 years ago
Qiang Xue
b316ebee7f
typo fix.
11 years ago
Qiang Xue
e4299afac1
minor code refacotring.
11 years ago
Paul Klimov
e0294ea724
'ViewContext' renamed to 'ViewContextInterface'.
11 years ago
Paul Klimov
83e353dd41
'ViewContext' interface extracted, files render workflow refactored to use this interface.
11 years ago
Qiang Xue
b03b38fb0d
Added $publish parameter to AssetManager::getBundle().
11 years ago
Carsten Brandt
1475b46249
adjusted asset phpdoc after refactoring #996
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
3e159c9969
Removed the extra EOLs.
11 years ago
egorpromo
af966d529a
I add new line in methods that render code in the head and for body
11 years ago