Skip to content

Commit

Permalink
Dev: function from registerController set to public
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Apr 24, 2014
1 parent 391366d commit 7be340e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/controllers/RegisterController.php
Expand Up @@ -36,7 +36,7 @@ class RegisterController extends LSYii_Controller {
*/
private $sMailMessage;

function actionAJAXRegisterForm($surveyid)
public function actionAJAXRegisterForm($surveyid)
{
Yii::app()->loadHelper('database');
Yii::app()->loadHelper('replacements');
Expand Down Expand Up @@ -67,7 +67,7 @@ function actionAJAXRegisterForm($surveyid)
* @param $aRegisterErrors array of errors when try to register
* @return
*/
function actionIndex($sid = null)
public function actionIndex($sid = null)
{

if(!is_null($sid))
Expand Down Expand Up @@ -304,7 +304,7 @@ public function sendRegistrationEmail($iSurveyId,$iTokenId){
* @param $iSurveyId
* @return integer : the token id created
*/
private function getTokenId($iSurveyId)
public function getTokenId($iSurveyId)
{
$clang = Yii::app()->lang;
$sLanguage=$clang->langcode;
Expand Down Expand Up @@ -363,7 +363,7 @@ private function getTokenId($iSurveyId)
* @param $iSurveyId
* @return array : if email is set to sent (before SMTP problem)
*/
private function getFieldValue($iSurveyId)
public function getFieldValue($iSurveyId)
{
//static $aFiledValue; ?
$sLanguage=Yii::app()->lang->langcode;
Expand All @@ -387,7 +387,7 @@ private function getFieldValue($iSurveyId)
* @param $iSurveyId
* @return array
*/
private function getExtraAttributeInfo($iSurveyId)
public function getExtraAttributeInfo($iSurveyId)
{
$sLanguage=Yii::app()->lang->langcode;
$aSurveyInfo=getSurveyInfo($iSurveyId,$sLanguage);
Expand Down

0 comments on commit 7be340e

Please sign in to comment.