resurtm
9e1b498fb5
PHP 5.4 supports $this with closures.
11 years ago
Alexander Makarov
6f9785a293
fixes #995
11 years ago
Qiang Xue
8293e4d9d7
Refactored getModule and hasModule.
11 years ago
Luciano Baraglia
bce3afcca2
Module::getModule and Module::hasModule support for sub-modules - see #983
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
iJackUA
253becaef5
View default value for $params
...
To prevent Warning "Trying to get property of non-object" in case when nothing set to params, but you try to get some key (check is there something)
ArrayHelper::getValue($this->view->params, 'abc');
11 years ago
Carsten Brandt
1600889f4e
added isAttributeActive to Model
...
consistent api for safe and required
11 years ago
Carsten Brandt
3a981e26da
improved errorhandler output
...
when error occurs while handling errors output was not readable in web
context
11 years ago
Carsten Brandt
72b4f4f717
added comment
11 years ago
Carsten Brandt
80cf9c8be9
better error message
11 years ago
Carsten Brandt
a922c41ee6
more asset bundle tests and docs
11 years ago
Carsten Brandt
abc1e0c2bb
fix issue #700
...
adjust depended asset position or throw exception on conflict
11 years ago
Carsten Brandt
a6784f4ae9
doc fix
11 years ago
Alexander Makarov
618f981112
Renamed i18n to be all lowecase when accessed as a property
11 years ago
Qiang Xue
9e9b3548db
refactor Exception::toArrayRecursive().
11 years ago
Jin Hu
5d7c37bd7e
Incorrect array representation when has previous
11 years ago
Qiang Xue
93d5f5a3ec
Fixes #897 .
11 years ago
Niko Wicaksono
2765bcccf8
Use str_replace() rather than implode-explode
11 years ago
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
11 years ago
Qiang Xue
9836b28ed3
Fixes #884 .
11 years ago
Qiang Xue
1aa836ffc7
use meta tags to pass CSRF token.
11 years ago
Qiang Xue
91b6e2945a
Removed the support for calling anonymous function returned as a property value.
11 years ago
Qiang Xue
84dd19d76f
Fixed the issue that Object/Component doesn't support using anonymous function as normal property values.
11 years ago
Qiang Xue
a9991d4e91
CRUD WIP
11 years ago
Alexander Makarov
6d25d3aef6
Added info about custom validator method signature to Model::rules phpdoc
11 years ago
Qiang Xue
b16bf0691a
fixed typo
11 years ago
Qiang Xue
fccd8185b5
Enhanced the default implementation of Model::scenarios() to return all scenarios found in rules().
11 years ago
Qiang Xue
326e98a41c
doc fix.
11 years ago
Carsten Brandt
9a4d7ff15b
Exception message when getting write-only property
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Carsten Brandt
7a6ce8251a
simplified method check in Component::__call()
11 years ago
Carsten Brandt
15a3ec2764
added unit tests and call to $behavior->hasMethod in Component
11 years ago
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/
11 years ago
Carsten Brandt
f83fcc553c
fixed return value of Component::can*Property
...
return false, not null
11 years ago
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
11 years ago
Carsten Brandt
1d622b65c3
fixed docs about error methods in Model
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
c7c7683f8f
Added StringHelper::diff().
12 years ago
Qiang Xue
3852e0b7cb
finished module code generator.
12 years ago
Carsten Brandt
bb2274eae2
re-added Exception about wrong class name to autoloader
...
helps reducing weird error messages.
12 years ago
Alexander Makarov
805706b26e
more view docs
12 years ago
Qiang Xue
3adffc9caf
Exit error handling to avoid handling exceptions multiple times.
12 years ago
Qiang Xue
53d25e9275
Fixes #763 .
12 years ago
Qiang Xue
6e32fae378
Fixes #763 : handling empty string for date formatting.
12 years ago
Qiang Xue
922f185b6f
bug fix.
12 years ago
Qiang Xue
f576add9e9
Fixes #744 : simplified Yii autoloader.
12 years ago
Qiang Xue
ce4f37a183
doc fix.
12 years ago
Qiang Xue
d1c41fe144
changed to trace from info.
12 years ago