For 37 days in unfamiliar rooms I made sure that the bathroom light was on at night in case the kids needed to go toilet. I never imagined we would need to do the same at home. 62 more words
Tags » Barry
I am using behaviors and add them dynamically which is working fine.
To add a a behavior, one can use
$component->attachBehavior('myBehavior1', new MyBehavior);
$component->attachBehavior('myBehavior2', MyBehavior::className()); …33 more words