Commit 11931f94 authored by Raph El's avatar Raph El
Browse files

Form : Rename getDataForAnswer -> getDataForm

parent 69fddce5
......@@ -133,7 +133,7 @@
"type" => $type,
"canEdit"=>$canEdit,
"controller" => $controller);
$params = Form::getDataForAnswer($params);
$params = Form::getDataForm($params);
$this->renderPartial('survey.views.tpls.forms.formWizard', $params );
}
......
......@@ -28,7 +28,7 @@
$params["canEdit"] = Authorisation::canEditItem(Yii::app()->session["userId"],@$this->costum["contextType"], @$this->costum["contextId"]);
if(isset($_GET["form"]))
$params = Form::getDataForAnswer($params);
$params = Form::getDataForm($params);
//var_dump($params['parentForm']);exit;
// var_dump($this->costum["welcomeTpl"]);
......
......@@ -32,7 +32,7 @@
$params["test"]=$test;
}
if(isset($_GET["form"]))
$params = Form::getDataForAnswer($params);
$params = Form::getDataForm($params);
//var_dump($params['parentForm']);exit;
$this->renderPartial( $this->costum["welcomeTpl"],$params );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment