Ben başka bir Kontrolörü Eylem bir değişken geçmek ve görünümü senaryo üzerinde değerini görüntülemek istiyorum.
class ImportController extends Zend_Controller_Action
{
public function ImportrecordsAction()
{
//Do some processing and in this case I select
//23 to be the value of total records imported;
&totalcount = 23;
//On success go to success page;
$this->_redirect('/import/success');
}
public function SuccessAction()
{
//Display the value at the resulting view
$this->view->count = &totalcount;
}
}
Ancak &totalcount değişkeni sonraki eyleme geçmedi yani hiçbir değer döndürüyor.
Bunu nasıl çözebilirim?