Carsten Brandt
72b4f4f717
added comment
2013-10-11 02:20:51 +02:00
Carsten Brandt
80cf9c8be9
better error message
2013-10-11 02:19:32 +02:00
Carsten Brandt
a922c41ee6
more asset bundle tests and docs
2013-10-11 02:14:59 +02:00
Carsten Brandt
abc1e0c2bb
fix issue #700
...
adjust depended asset position or throw exception on conflict
2013-10-11 01:54:05 +02:00
Carsten Brandt
a6784f4ae9
doc fix
2013-10-11 01:14:40 +02:00
Alexander Makarov
618f981112
Renamed i18n to be all lowecase when accessed as a property
2013-10-03 01:41:38 +04:00
Qiang Xue
9e9b3548db
refactor Exception::toArrayRecursive().
2013-09-29 12:06:00 -04:00
Jin Hu
5d7c37bd7e
Incorrect array representation when has previous
2013-09-29 23:27:14 +08:00
Qiang Xue
93d5f5a3ec
Fixes #897 .
2013-09-22 13:01:27 -04:00
Qiang Xue
f4cbadb37b
Merge pull request #896 from wicaksono/development
...
Use str_replace() rather than implode-explode
2013-09-21 17:27:02 -07:00
Niko Wicaksono
2765bcccf8
Use str_replace() rather than implode-explode
2013-09-22 00:49:12 +07:00
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
2013-09-18 23:24:11 -04:00
Qiang Xue
9836b28ed3
Fixes #884 .
2013-09-18 00:35:31 -04:00
Qiang Xue
1aa836ffc7
use meta tags to pass CSRF token.
2013-09-17 21:00:19 -04:00
Qiang Xue
91b6e2945a
Removed the support for calling anonymous function returned as a property value.
2013-09-12 20:10:06 -04:00
Qiang Xue
84dd19d76f
Fixed the issue that Object/Component doesn't support using anonymous function as normal property values.
2013-09-11 13:42:34 -04:00
Qiang Xue
a9991d4e91
CRUD WIP
2013-09-07 08:18:41 -04:00
Alexander Makarov
6d25d3aef6
Added info about custom validator method signature to Model::rules phpdoc
2013-09-06 18:44:02 +04:00
Qiang Xue
b16bf0691a
fixed typo
2013-09-05 23:37:15 -04:00
Qiang Xue
fccd8185b5
Enhanced the default implementation of Model::scenarios() to return all scenarios found in rules().
2013-09-05 22:39:40 -04:00
Qiang Xue
326e98a41c
doc fix.
2013-09-05 08:31:04 -04:00
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