Latest news
Home » SocialEngine » how to redirect a page in socialengine

how to redirect a page in socialengine

redirect function in socialengine

we can use this code controller for redirecting
<?php
/**
* Index Controller
*/
class Admin_IndexController extends Core_Controller_Action
{
public function loginAction()
{
$this->_redirect(‘/index’);
}
redirect is core helper function in socialengine. It can use in socialengine controller.

Leave a Reply

x

Check Also

Pass custom error message to zend/socialengine form from controller

$this->view->form = $form = new User_Form_Admin_Universities_Createdomain(); $this->view->university_id = $iId = $this->_getParam(‘id’, null); $form->populate(array(‘university_id’=>$iId)); if($this->getRequest()->isPost() && ...