15 Commits

Author SHA1 Message Date
91b6e2945a Removed the support for calling anonymous function returned as a property value. 2013-09-12 20:10:06 -04:00
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
326e98a41c doc fix. 2013-09-05 08:31:04 -04:00
9a4d7ff15b Exception message when getting write-only property 2013-09-01 19:57:54 +02:00
7fa81949bf various documentation changes 2013-09-01 19:47:26 +02:00
7a6ce8251a simplified method check in Component::__call() 2013-09-01 14:40:15 +02:00
15a3ec2764 added unit tests and call to $behavior->hasMethod in Component 2013-08-31 23:27:52 +02:00
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
f83fcc553c fixed return value of Component::can*Property
return false, not null
2013-08-31 18:51:00 +02:00
ca69ef09d4 update of @property annotations 2013-08-28 14:59:52 +02:00
004c509ca3 checkVar => checkVars 2013-08-03 23:42:17 +02:00
bb05ed4f24 Update Component.php 2013-08-03 23:13:31 +02:00
846f17017c Component::hasProperty() small optimization 2013-08-03 23:10:43 +02:00
250ec28e0c Fixes #713. 2013-08-03 16:54:08 -04:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00