Yii Framework Forum: How To Call My Model - Yii Framework Forum

Jump to content

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

How To Call My Model Rate Topic: -----

#1 User is offline   nirmalroka 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 53
  • Joined: 10-July 12
  • Location:Kathmandu Nepal

Posted 08 December 2012 - 05:38 AM

Hi I got a problem while calling the model, I have the image model and I had used the Image extension for image upload so when I call $mymodel = new Image() or Image than the It becomes the object of Extension but I need it to be the object of my Image model. Thank you.
0

#2 User is online   alirz23 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,039
  • Joined: 08-August 12
  • Location:Durban, South Africa

Posted 08 December 2012 - 05:41 AM

you can rename your model
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