public function getSurveySelect($name, $post) {
        $surveys = $this->surveys;

        $select = \MUtil_Html::create()->select(['name' => $name]);

        $empty = $this->util->getTranslated()->getEmptyDropdownArray();
        $select->option(reset($empty), ['value' => '']);

        return $select;
    }
public function getSurveySelect($name, $post) {
        $surveys = $this->surveys;

        $select = \MUtil_Html::create()->select(['name' => $name]);

        $empty = $this->util->getTranslated()->getEmptyDropdownArray();
        $select->option(reset($empty), ['value' => '']);

        return $select;
    }
public function getSurveySelect ( $ name , $ post ) { $ surveys = $ this -> surveys ; $ select = \ MUtil_Html :: create ( ) -> select ( [ 'name' => $ name ] ) ; $ empty = $ this -> util -> getTranslated ( ) -> getEmptyDropdownArray ( ) ; $ select -> option ( reset ( $ empty ) , [ 'value' => '' ] ) ; return $ select ; }
Create a select element node with all available surveys

@param $name string name of the survey select
@return mixed \MUtil_Html node
Create a select element node with all available surveys