Commit Graph

128 Commits

Author SHA1 Message Date
Carsten Brandt
9a4d7ff15b Exception message when getting write-only property 2013-09-01 19:57:54 +02:00
Carsten Brandt
7fa81949bf various documentation changes 2013-09-01 19:47:26 +02:00
Carsten Brandt
7a6ce8251a simplified method check in Component::__call() 2013-09-01 14:40:15 +02:00
Carsten Brandt
15a3ec2764 added unit tests and call to $behavior->hasMethod in Component 2013-08-31 23:27:52 +02:00
Carsten Brandt
7a55640670 Added hasMethod() to Component and Object class
this allows implementing __call() in behaviors

See this forum topic for details:
http://www.yiiframework.com/forum/index.php/topic/46629-invoke-behavior-method-through-php-magic-method-call-dosent-work/
2013-08-31 18:53:44 +02:00
Carsten Brandt
f83fcc553c fixed return value of Component::can*Property
return false, not null
2013-08-31 18:51:00 +02:00
Carsten Brandt
91c16782ef finalized PhpDocController
- cleanup API and usage, add documetation link
- introduced @property feature in getter or setter which has precedence
  over @return or @param tag if present
2013-08-28 18:58:59 +02:00
Carsten Brandt
1d622b65c3 fixed docs about error methods in Model 2013-08-28 15:26:00 +02:00
Carsten Brandt
ca69ef09d4 update of @property annotations 2013-08-28 14:59:52 +02:00
Carsten Brandt
bdb77f33ba updated @property annotations of many classes 2013-08-28 14:16:13 +02:00
Qiang Xue
c7c7683f8f Added StringHelper::diff(). 2013-08-19 08:52:39 -04:00
Qiang Xue
10f2b9259c Merge branch 'master' of github.com:yiisoft/yii2 2013-08-18 15:21:24 -04:00
Qiang Xue
3852e0b7cb finished module code generator. 2013-08-18 15:20:56 -04:00
Carsten Brandt
bb2274eae2 re-added Exception about wrong class name to autoloader
helps reducing weird error messages.
2013-08-18 19:33:33 +02:00
Alexander Makarov
805706b26e more view docs 2013-08-16 02:03:41 +04:00
Qiang Xue
3adffc9caf Exit error handling to avoid handling exceptions multiple times. 2013-08-14 17:23:16 -04:00
Qiang Xue
53d25e9275 Fixes #763. 2013-08-14 17:12:05 -04:00
Qiang Xue
6e32fae378 Fixes #763: handling empty string for date formatting. 2013-08-14 13:50:00 -04:00
Qiang Xue
922f185b6f bug fix. 2013-08-12 20:05:54 -04:00
Qiang Xue
f576add9e9 Fixes #744: simplified Yii autoloader. 2013-08-11 20:03:01 -04:00
Qiang Xue
ce4f37a183 doc fix. 2013-08-11 16:14:59 -04:00
Qiang Xue
d1c41fe144 changed to trace from info. 2013-08-10 12:22:32 -04:00
Qiang Xue
4727ac8f1d Refactored the feature of transactional operations. 2013-08-07 22:22:23 -04:00
Qiang Xue
b3b1151469 Finished draft implementation of GridView. 2013-08-06 17:00:32 -04:00
crtlib
80f1fda740 checkVar => checkVars 2013-08-03 23:43:40 +02:00
crtlib
004c509ca3 checkVar => checkVars 2013-08-03 23:42:17 +02:00
crtlib
bb05ed4f24 Update Component.php 2013-08-03 23:13:31 +02:00
crtlib
846f17017c Component::hasProperty() small optimization 2013-08-03 23:10:43 +02:00
Qiang Xue
250ec28e0c Fixes #713. 2013-08-03 16:54:08 -04:00
Qiang Xue
60ba20491e Added support for passing parameters to the format method. 2013-08-03 16:51:57 -04:00
Qiang Xue
6b41d41fd9 Fixes #711. 2013-08-03 14:04:36 -04:00
Qiang Xue
3d5388ff2b Reorganized captcha code. 2013-08-03 07:20:39 -04:00
Qiang Xue
f72c451c86 Display debug toolbar on error pages. 2013-08-02 16:36:11 -04:00
Qiang Xue
eda171e1be Added more YII_ENV constants. 2013-07-31 07:18:59 -04:00
Qiang Xue
458f50acd0 typo fix 2013-07-29 06:23:52 -04:00
sv3tli0
89f11519ef Fix description 2013-07-27 15:32:31 +03:00
Qiang Xue
3bef7365f1 Fixes #624: renamed www to web. 2013-07-25 07:57:49 -04:00
Qiang Xue
e433c98ed4 Fixes #599 2013-07-23 22:01:16 -04:00
Qiang Xue
f1ba923e91 Fixes #648: EVENT_BEFORE_ACTION is triggered twice. 2013-07-21 20:39:05 -04:00
Qiang Xue
203f4bfe3e Fixes issue #643 2013-07-21 08:59:17 -04:00
Qiang Xue
e15938474c Refactored console commands. 2013-07-18 18:21:21 -04:00
Qiang Xue
a128bffb47 Fix for asset command. 2013-07-16 21:43:17 -04:00
Qiang Xue
368a4cfe66 Asset feature refactoring (WIP) 2013-07-15 22:49:22 -04:00
Qiang Xue
389c0e2bb6 Improved log panel display. 2013-07-10 13:24:04 -04:00
Qiang Xue
4ec0a61af1 Added logging of view files. 2013-07-10 13:09:34 -04:00
Qiang Xue
ba6c10eb30 Yii debugger WIP 2013-07-06 21:20:49 -04:00
Qiang Xue
682c0a346f Added trace messages. 2013-07-06 17:05:29 -04:00
Qiang Xue
94fd8f6153 Merge branch 'master' of github.com:yiisoft/yii2 2013-07-03 21:07:44 -04:00
Qiang Xue
f043aa5ea3 Added Formatter::format(). 2013-07-03 21:07:21 -04:00
Sw3rtas
ab27d16efd * Fixed Model::loadMultiple() when populating from formName()
* Documentation corrections for data population and quoting names in SQL query
2013-07-03 23:02:32 +03:00