Yii Framework Forum: Passing From Controller To Index.php - Yii Framework Forum

Jump to content

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

Passing From Controller To Index.php Rate Topic: -----

#1 User is offline   Sler 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 97
  • Joined: 17-July 12

Posted 30 November 2012 - 08:34 AM

I have Site Controller: which gives the actionIndex the $data on index.php
$this->render('index', $data);


But how can I use actionCrtinfo without rendering index, but only pass the data to index.php?
NOTE: Crtinfo by the way is act upon an AjaxButton OR AjaxLink
0

#2 User is offline   njasm 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 09-November 11

Posted 30 November 2012 - 12:14 PM

Don't take me wrong but... why would you want to send data to a view file if you will never load/render it?!
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