FormController.php 372 Bytes
Newer Older
Clément Damiens's avatar
 
Clément Damiens committed
1 2 3 4
<?php class FormController extends CommunecterController {


    protected function beforeAction($action) {
Clément Damiens's avatar
 
Clément Damiens committed
5
        parent::initPage();
Clément Damiens's avatar
 
Clément Damiens committed
6 7 8 9 10 11 12 13 14 15 16
		return parent::beforeAction($action);
  	}

  	public function actions()
	{
	    return array(
	        'create'  => 'survey.controllers.openForm.CreateAction',
	        'edit'=>	'survey.controllers.openForm.EditAction',
	    );
	}
}