Yii Framework Forum: Extending Core Classes - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Extending Core Classes

#1 User is offline   ORey 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,649
  • Joined: 20-April 09
  • Location:Moscow, Russia

Posted 05 November 2013 - 05:45 PM

Speaking of extending, how am I supposed to extend classes like, say, ActiveQuery?
Should I extend ActiveRecord also (overriding createQuery)?
God is real unless declared as integer
0

#2 User is online   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,154
  • Joined: 17-January 09
  • Location:Russia

Posted 06 November 2013 - 04:53 AM

Yes.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users