Qiang Xue
8b00693a0a
Fixes #1025 : Implemented support for class-level events.
11 years ago
Qiang Xue
0ee120f5f9
refactored Component::off().
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
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
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
ca69ef09d4
update of @property annotations
11 years ago
crtlib
004c509ca3
checkVar => checkVars
11 years ago
crtlib
bb05ed4f24
Update Component.php
11 years ago
crtlib
846f17017c
Component::hasProperty() small optimization
11 years ago
Qiang Xue
250ec28e0c
Fixes #713 .
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
slavcopost
a94c432311
Fix attaching behavior via config
12 years ago
slavcopost
3d40b171e0
Fix attaching behavior via config
12 years ago
mdeweerd
2d1180f35c
Add ensureBehaviors() to detachBehavior*()
...
Need to add ensureBehaviors() to detachBehavior*().
The intent may be to detach behaviors defined in behaviors().
In the original implementation, if these behaviors() are not yet attached, they can not selectively be detached.
12 years ago
Qiang Xue
55e8db9b97
improved doc.
12 years ago
Qiang Xue
a421f9f1ab
refactored component event.
12 years ago
Qiang Xue
1fbf81be57
User WIP.
12 years ago
Qiang Xue
de5c304f64
finished fragment caching.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
edc48dc9c7
removed ApplicationComponent.
12 years ago
Qiang Xue
ed8b795295
renamed exception classes.
12 years ago
Qiang Xue
04cf537394
move back api docs.
12 years ago
Qiang Xue
88672ed1da
furnishing base classes.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
e5cefb0133
moved api docs.
12 years ago
Qiang Xue
72ff81f73d
Web WIP
12 years ago
Qiang Xue
9b5e870a2d
Added Component::__clone()
12 years ago
Qiang Xue
b1047e7ff6
refactored object creation.
...
added more exception classes.
working on request and response classes.
13 years ago
Qiang Xue
1599a2cf25
Removed Object::evaluateExpression().
...
Finished ExpressionDependency.
13 years ago
Qiang Xue
a1973f2c1d
fixed behavior detaching.
13 years ago
Qiang Xue
bb92623f88
fixed doc.
13 years ago
Qiang Xue
cc0be8ad18
support anonymous behaviors.
13 years ago
Qiang Xue
c9097ed036
working on controllers and actions.
13 years ago
Alexander Makarov
9c7a06b122
better comments style, missing @thorws
13 years ago
Alexander Makarov
69b49180ef
Updated asa -> getBehavior
13 years ago
Qiang Xue
a705fb4ecd
...
13 years ago
Qiang Xue
7a2343276e
...
13 years ago
Alexander Makarov
ed157ae169
Better example for component events. Button and click are too clientside-like.
13 years ago
Qiang Xue
b163f2a4c1
...
13 years ago
Qiang Xue
47fe25d4ee
new event implementation.
13 years ago
Qiang Xue
3210a2171c
...
13 years ago
Qiang Xue
1b7c00a044
...
13 years ago