selectorInputFirstSegment($id); $this->generateOptions($selector, $selected); print '

Kötelező kitölteni

'; if ($id == 'facilitie') { print ''; } } public function generateSelectorInputForProfiles($id, $selector, $selected) { $this->selectorInputFirstSegment($id); $this->generateOptionsFromArray($selector, $selected); print '

Kötelező kitölteni

'; } public function generateSelectorDateInput($id, $daterange) { global $langs; print '

Kötelező kitölteni

'; } private function selectorInputFirstSegment($id) { global $langs; $class = $id == 'facilitie' ? '' : 'displayNone'; if ($id == 'facilitie') { print '
'; } print ' '; $content .= '
 
'; $content .= '
'; } $content .= ''; return $content; } private function generateOptions($array, $selected) { foreach ($array as $Key => $Value) { $selectedString = $Key == $selected ? 'selected' : ''; print ''; } } private function generateOptionsFromArray($array, $selected) { foreach ($array as $item) { $selectedString = $item['id'] == $selected ? 'selected' : ''; print ''; } } public function generateTimerLine($time1Value, $time2Value) { print '
-
'; } }