Commit Graph

49 Commits

Author SHA1 Message Date
Nikolay Oleynikov
323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 2017-02-19 17:34:22 +03:00
Carsten Brandt
c19b2f7dc8 release version 2.0.11 2017-02-01 17:46:29 +01:00
Alexander Makarov
920877c815 Fixed WidgetEvent construction 2017-01-28 11:55:24 +03:00
user57376
7c1693479f Fixes #12000: Added EVENT_INIT to widget 2017-01-28 01:27:05 +03:00
Alexander Makarov
767400da19 Fixes for #13457 as commented by @cebe 2017-01-28 01:22:48 +03:00
Alexander Makarov
f20c0177af Fixes #7435: Added EVENT_BEFORE_RUN, EVENT_AFTER_RUN and corresponding methods to yii\base\Widget 2017-01-27 18:56:22 +03:00
Robert Korulczyk
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
Carsten Brandt
93f6ddfbe9 document the fact that widgets use output buffering
so they may break ob stack when end() and begin() are called in
different views.

close #11687
2016-07-04 12:12:44 +02:00
Alexander Makarov
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
Alexander Mohorev
d34d890a32 PSR-2 if-else statement 2015-06-09 00:10:09 +03:00
Alexander Mohorev
38ca276e1f PSR-2 try-catch statement 2015-06-08 23:32:08 +03:00
Mohamad Mohebifar
b2e8bf2552 Update PHPDoc Comment 2015-05-26 15:47:11 +04:30
Carsten Brandt
1fe171b328 only close output buffer if it is still open
Pjax did alredy close it before ExitException

fixes #8506
2015-05-21 14:22:53 +02:00
Carsten Brandt
10d0ad70af close output buffer for widget on exception
while running bootstrap extension unit tests which were failing first
I found phpunit complaining about risky tests because output buffers
were not closed correctly. This change fixes this problem.

close #7844
2015-04-20 15:17:51 +02:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Alexander Makarov
d0ddb56639 Fixes #699: fixed wrong usage of self and static 2014-05-06 20:05:41 +04:00
Carsten Brandt
91965fd391 phpdoc formatting issues 2014-04-23 02:55:17 +02:00
Qiang Xue
a4809bca1b Fixes #3091: Fixed inconsistent treatment of Widget::run() when a widget is used as a container and as a self-contained object 2014-04-14 20:07:16 -04:00
Qiang Xue
92bd71cd84 Fixes #2912: Relative view files will be looked for under the directory containing the view currently being rendered 2014-03-28 21:54:32 -04:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
595f55c504 api doc improvements 2014-03-08 14:20:19 +01:00
Alexander Makarov
1444e14853 Fixed Widget::widget 2014-01-26 23:02:59 +04:00
Alexander Makarov
a2dca09e71 Modified phpdoc 2014-01-26 17:50:04 +04:00
Alexander Makarov
db7e4a4401 Added echo output in case there's return 2014-01-26 17:44:19 +04:00
Alexander Makarov
4023f4215a Allow writing widgets using return instead of echo in the run method to make it consistent with controller 2014-01-26 16:08:24 +04:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
Qiang Xue
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
Zander Baldwin
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
Qiang Xue
3b12bbd8f2 Fixes issue #90 2013-05-04 14:28:09 -04:00
Qiang Xue
5b412b8f84 script WIP 2013-04-16 17:42:31 -04:00
Qiang Xue
c32a202d82 refactored MVC. 2013-03-31 20:21:29 -04:00
Qiang Xue
884977a724 renamed util to helpers. 2013-03-23 15:32:26 -04:00
Qiang Xue
a5ee5b842b view WIP 2013-03-22 17:22:29 -04:00
Qiang Xue
1d48d01ef7 refactored View. 2013-03-20 22:03:13 -04:00
Qiang Xue
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
Qiang Xue
8b2b7915b4 Renamed application to app. 2013-02-05 16:12:22 -05:00
Qiang Xue
311f876b7b MVC WIP 2013-01-30 23:34:04 -05:00
Qiang Xue
bd320533ab MVC WIP 2013-01-30 19:49:38 -05:00
Qiang Xue
3fa22483c1 refactored logging.
MVC WIP
2013-01-27 17:11:06 -05:00
Qiang Xue
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
Qiang Xue
b7a7800fec Fixed constructors. 2012-08-30 21:17:42 -04:00
Qiang Xue
b1047e7ff6 refactored object creation.
added more exception classes.
working on request and response classes.
2012-06-30 22:21:28 -04:00
Qiang Xue
41650dd643 ... 2012-05-30 23:10:54 -04:00
Qiang Xue
0c85d56b74 finished view. 2012-05-28 00:03:17 -04:00
Qiang Xue
e8b0fd1327 ... 2012-05-19 09:46:32 -04:00
Qiang Xue
e7a5e8ab37 ... 2012-05-18 07:37:47 -04:00