Yii Framework Forum: how to have consistent databases across all controllers? - Yii Framework Forum

Jump to content

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

how to have consistent databases across all controllers? Rate Topic: -----

#1 User is offline   YuriKolovsky 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 45
  • Joined: 18-August 09
  • Location:Malaga, Spain

Posted 02 October 2009 - 01:03 PM

how to have multiple consistent databases across all controllers or at least one controller?
i mean i sometimes use 2 databases across 90% of the pages in a controller, how do i handle this situation? where do i add the databases in the controller code? (or do i need to add it somewhere else?)

please help, this is driving me nuts!
0

#2 User is offline   pestaa 

  • past Yii dev member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 705
  • Joined: 07-May 09
  • Location:Hungary

Posted 07 October 2009 - 01:31 AM

Configure an additional component in the configuration array.
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