What Is Behavior?

hey guys! what is the behavior?

is it mixins + event handler?


Fundamentals: Component

Events and Behaviors

Adding to the above reply, I think it can be defined as a Yii implementation of a Mixin pattern.

There are also other wiki articles on behaviors - I recommend a search in the wiki section.

I suggest you read and play with it to get a sense of it. Its worth the investment.

ok, so it’s a mixins with event hadling features. am i right?

Useful links…