Yii Framework Forum: How To Give The Path To Action In The Controllor Within Widget In Yii - Yii Framework Forum

Jump to content

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

How To Give The Path To Action In The Controllor Within Widget In Yii

#1 User is offline   sldra 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 123
  • Joined: 11-October 12

Posted 22 September 2013 - 11:31 PM

hey guys pls help me do above matter
0

#2 User is offline   sldra 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 123
  • Joined: 11-October 12

Posted 23 September 2013 - 12:09 AM

View Postsldra, on 22 September 2013 - 11:31 PM, said:

hey guys pls help me get the sollution for above problem,,
I created newletter widget .then I need to call it from mywidget inside of the run function to another controller method .How to call another controller method within widget's run function .pls help me

0

#3 User is offline   Newb 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 37
  • Joined: 25-July 11

Posted 23 September 2013 - 07:44 AM

Cwidget has owner property. If you render it from controller, then owner is Controller.
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