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
Qiang Xue
ea10868824
Removed Yii::import().
2013-09-01 10:26:59 -04:00
Carsten Brandt
7a6ce8251a
simplified method check in Component::__call()
2013-09-01 14:40:15 +02:00
Qiang Xue
afd0472784
Fixes #837 : turn private variables into public ones.
2013-08-31 21:29:46 -04:00
Qiang Xue
f87e4ce604
automatically hide model class input if needed.
2013-08-31 18:47:30 -04:00
Carsten Brandt
c364e26606
Merge pull request #836 from cebe/component-has-method
...
Added hasMethod() to Component and Object class
2013-08-31 14:31:29 -07: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
219eebf42c
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Reverted changeset 595ac6d0be
Fixes #833 : added charset to json response.
2013-08-31 18:49:23 +02:00
Qiang Xue
947a557240
Reverted changeset 595ac6d0be
2013-08-31 08:15:10 -04:00
Qiang Xue
595ac6d0be
Fixes #833 : added charset to json response.
2013-08-30 17:07:55 -04:00
Carsten Brandt
b5a6dac3ae
renamed test method after implementation rename in FileHelper
2013-08-30 17:03:09 +02:00
Carsten Brandt
4d84e09479
typo in query builder, fixes #832
2013-08-30 16:57:11 +02:00
Carsten Brandt
0d91021f02
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049 )
add missing return to module template
Update module.php
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
gii form width adjustment.
Make sure query cloning works as expected.
Fixed test break.
Fixes #828 : refactored QueryBuilder::build()
2013-08-30 16:54:32 +02:00
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
2013-08-30 16:52:33 +02:00
Carsten Brandt
fa07d31310
documentation fixed for mutex extension
2013-08-30 16:30:20 +02:00
Alexander Makarov
e1a6aacba8
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049)
2013-08-30 18:23:09 +04:00
Alexander Makarov
c0102b4143
Merge pull request #831 from philippfrenzel/patch-5
...
add missing return to module template
2013-08-30 06:22:09 -07:00
Philipp Frenzel
e94b455535
add missing return to module template
...
I think according to the framework it should return the render and otherwise the browser will stay blank...
2013-08-30 15:05:00 +02:00
Alexander Makarov
d9d000649a
Merge pull request #830 from philippfrenzel/patch-4
...
module should extend \yii\base\Module as \yii\web\Module doesn't exist...
2013-08-30 03:40:23 -07:00
Philipp Frenzel
70d263d66e
Update module.php
...
module should extend \yii\base\Module as \yii\web\Module doesn't exist...
If this is outdated, then pls just ignore it!
2013-08-30 12:23:10 +02:00
Alexander Makarov
c2c12a9049
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
2013-08-30 13:44:22 +04:00
Qiang Xue
2ecdfd6225
gii form width adjustment.
2013-08-29 17:20:04 -04:00
Qiang Xue
cb60fa5ddd
Make sure query cloning works as expected.
2013-08-29 17:19:22 -04:00
Qiang Xue
30d6229943
Fixed test break.
2013-08-29 16:53:15 -04:00
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
2013-08-29 16:47:48 -04:00
Carsten Brandt
147558ea19
added some class documentation
2013-08-28 19:33:06 +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
c582e589d2
added note about differing property types
2013-08-28 15:18:13 +02:00
Carsten Brandt
ca69ef09d4
update of @property annotations
2013-08-28 14:59:52 +02:00
Carsten Brandt
8366cb6e67
allow [] in property doc type
2013-08-28 14:54:00 +02:00
Carsten Brandt
6405c4f349
added proper word wrapping and note about read/writeonly properties
2013-08-28 14:40:31 +02:00
Carsten Brandt
c5b42910a9
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
refactored code.
2013-08-28 14:16:37 +02:00
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
2013-08-28 14:16:13 +02:00
Qiang Xue
172d92958f
refactored code.
2013-08-28 06:46:43 -04:00
Carsten Brandt
f870162535
fixed indentation of PhpDocController and sort properties alphabetically
2013-08-28 12:09:04 +02:00
Carsten Brandt
1c9b9681a7
phpdoc command skip classes that do not extend Object
2013-08-28 11:59:34 +02:00
Carsten Brandt
df21e10c5d
fixed postioning of property tags in php-doc command
2013-08-28 11:51:19 +02:00
Carsten Brandt
14181b2be0
Update PHPDoc command to update classfiles automatically
2013-08-28 11:36:25 +02:00
Carsten Brandt
fa2a48c684
ported @property phpdoc generator from yii 1.1
...
fixes #822
2013-08-28 07:29:59 +02:00
Carsten Brandt
427c373ba6
implement Cache::exists() for various cache backends
...
fixes #811
2013-08-27 17:54:38 +02:00
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
2013-08-27 17:29:38 +02:00
Carsten Brandt
0e2ac86566
added Cache::exists() to check key existance in cache
2013-08-27 17:24:09 +02:00
Carsten Brandt
0cd65e7496
commented failing tests
2013-08-27 16:11:17 +02:00
Qiang Xue
d34f8486ab
Fixes #811 .
2013-08-27 08:13:20 -04:00
Qiang Xue
f941bfee60
Fixes #820 .
2013-08-27 08:09:15 -04:00
Qiang Xue
62b4a645f1
crud generator WIP
2013-08-27 08:08:57 -04:00