Nikola Kovacs
f11bdfa2a7
Grammar fix: followings -> following
10 years ago
Carsten Brandt
624db0e678
updated Component::__isset() docs
...
close #7587
10 years ago
Brandon Kelly
6d2bc06bf4
Corrected the Component::__isset() docs
...
__isset() returns true if the property is set; not if it's null.
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
8701d7df3b
more explicit comment in phpdoc, code style
10 years ago
Qiang Xue
46041d0c65
Fixes #3280 : Support dynamically attaching anonymous behaviors
10 years ago
Qiang Xue
104c4fc3ae
Added support to allow an event handler to be inserted at the beginning of the existing event handler list
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Carsten Brandt
40cb98bb02
updated `@property` annotations
11 years ago
Carsten Brandt
e2aacad8aa
Added links to PHP.net to apidoc
11 years ago
Qiang Xue
11baf61977
Fixed unsetting relation bug.
11 years ago
Carsten Brandt
8f491f2836
moved `@include` tags of api docs directly into the class
11 years ago
Florian Fackler
7b61873425
Changed Exception wording to be more clear
11 years ago
Florian Fackler
c600572f34
The missing Component.php tests
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Carsten Brandt
173c7de82b
changed default value of Component::_events
11 years ago
Paul Kofmann
ee81915a1e
Removed redundant code in detachBehaviors()
...
After ensureBehaviors() call $this->_behaviors is an array already.
And since detachBehavior() unsets elements in $this->_behaviors, $this->_behaviors turns out to be an empty array after all iterations.
11 years ago
Carsten Brandt
85b5c75b61
doc style
11 years ago
egorpromo
5156cc14ce
More docs
11 years ago
egorpromo
4d720389c3
It is more obviouse what to pass in trigger() method
11 years ago
Qiang Xue
684ee633f7
removed unneeded check.
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
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