47 include_once
'Services/MetaData/classes/class.ilMDLanguageItem.php';
53 $tmp_options[
$code] = $lng->txt(
'meta_l_'.$code);
55 asort($tmp_options,SORT_STRING);
57 foreach($prepend as $value => $translation)
83 $items =
array(
'Atomic',
'Collection',
'Networked',
'Hierarchical',
'Linear');
85 foreach($prepend as $value => $translation)
90 foreach($items as $item)
92 $options[$item] = $lng->txt(
'meta_'.strtolower($item));
114 $items =
array(
'Draft',
'Final',
'Revised',
'Unavailable');
116 foreach($prepend as $value => $translation)
121 foreach($items as $item)
123 $options[$item] = $lng->txt(
'meta_'.strtolower($item));
145 $items =
array(
'Author',
'Publisher',
'Unknown',
'Initiator',
'Terminator',
'Editor',
'GraphicalDesigner',
'TechnicalImplementer',
146 'ContentProvider',
'TechnicalValidator',
'EducationalValidator',
'ScriptWriter',
'InstructionalDesigner',
147 'SubjectMatterExpert',
'Creator',
'Validator',
'PointOfContact');
149 foreach($prepend as $value => $translation)
154 foreach($items as $item)
156 $options[$item] = $lng->txt(
'meta_'.strtolower($item));
178 $items =
array(
'PC-DOS',
'MS-Windows',
'MAC-OS',
'Unix',
'Multi-OS',
'None');
180 foreach($prepend as $value => $translation)
185 foreach($items as $item)
209 $items =
array(
'Any',
'NetscapeCommunicator',
'MS-InternetExplorer',
'Opera',
'Amaya',
'Mozilla');
211 foreach($prepend as $value => $translation)
216 foreach($items as $item)
241 foreach($prepend as $value => $translation)
246 $ilDB->setLimit(200,0);
249 $query =
"SELECT format as forma from il_meta_format GROUP BY format";
257 if(strlen(
$row->format))
282 foreach($prepend as $value => $translation)
287 $items =
array(15 =>
'15 '.$lng->txt(
'minutes'),
288 30 =>
'30 '.$lng->txt(
'minutes'),
289 45 =>
'45 '.$lng->txt(
'minutes'),
290 60 =>
'1 '. $lng->txt(
'hour'),
291 90 =>
'1 '. $lng->txt(
'hour').
' 30 '.$lng->txt(
'minutes'),
292 120 =>
'2 '.$lng->txt(
'hours'),
293 180 =>
'3 '.$lng->txt(
'hours'),
294 240 =>
'4 '.$lng->txt(
'hours'));
296 foreach($items as $key => $item)
318 $items =
array(
'Actice',
'Expositive',
'Mixed');
320 foreach($prepend as $value => $translation)
325 foreach($items as $item)
350 $items =
array(
'Exercise',
'Simulation',
'Questionnaire',
'Diagram',
'Figure',
'Graph',
'Index',
351 'Slide',
'Table',
'NarrativeText',
'Exam',
'Experiment',
'ProblemStatement',
'SelfAssessment',
'Lecture');
353 foreach($prepend as $value => $translation)
358 foreach($items as $item)
381 $items =
array(1 =>
'VeryLow',2 =>
'Low',3 =>
'Medium',4 =>
'High',5 =>
'VeryHigh');
383 foreach($prepend as $value => $translation)
388 foreach($items as $key => $item)
413 $items =
array(1 =>
'VeryLow',2 =>
'Low',3 =>
'Medium',4 =>
'High',5 =>
'VeryHigh');
415 foreach($prepend as $value => $translation)
420 foreach($items as $key => $item)
445 $items =
array(
'Teacher',
'Author',
'Learner',
'Manager');
447 foreach($prepend as $value => $translation)
452 foreach($items as $item)
476 $items =
array(
'School',
'HigherEducation',
'Training',
'Other');
478 foreach($prepend as $value => $translation)
483 foreach($items as $item)
507 $items =
array(
'LocalFile',
'Reference');
509 foreach($prepend as $value => $translation)
514 foreach($items as $item)
536 $items =
array(1 =>
'VeryEasy',2 =>
'Easy',3 =>
'Medium',4 =>
'Difficult',5 =>
'VeryDifficult');
538 foreach($prepend as $value => $translation)
543 foreach($items as $key => $item)
566 foreach($prepend as $value => $translation)
570 for($i = 1; $i < 100 ; $i++)
574 foreach($items as $key => $item)
595 foreach($prepend as $value => $translation)
599 $items =
array(15 =>
'15 '.$lng->txt(
'minutes'),
600 30 =>
'30 '.$lng->txt(
'minutes'),
601 45 =>
'45 '.$lng->txt(
'minutes'),
602 60 =>
'1 '. $lng->txt(
'hour'),
603 90 =>
'1 '. $lng->txt(
'hour').
' 30 '.$lng->txt(
'minutes'),
604 120 =>
'2 '.$lng->txt(
'hours'),
605 180 =>
'3 '.$lng->txt(
'hours'),
606 240 =>
'4 '.$lng->txt(
'hours'));
608 foreach($items as $key => $item)
630 $items =
array(
'Yes',
'No');
632 foreach($prepend as $value => $translation)
637 foreach($items as $item)
662 $items =
array(
'Yes',
'No');
664 foreach($prepend as $value => $translation)
669 foreach($items as $item)
694 $items =
array(
'Discipline',
'Idea',
'Prerequisite',
'EducationalObjective',
'AccessibilityRestrictions',
695 'EducationalLevel',
'SkillLevel',
'SecurityLevel',
'Competency');
697 foreach($prepend as $value => $translation)
702 foreach($items as $item)
static _getCopyrightAndOtherRestrictionsSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta rights copyright and other restrictions All possible entries in meta_format are shown...
static _getIntendedEndUserRoleSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta educational intended end user role All possible entries in meta_format are shown...
static _getCostsSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta rights costs All possible entries in meta_format are shown.
static _getDurationSelect($a_selected, $a_name, $prepend=array())
Prepare a meta technical duration selector All possible entries in meta_format are shown...
static _getSemanticDensitySelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta educational semantic density All possible entries in meta_format are shown...
static _getLanguageSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta data language selector.
static _getInteractivityLevelSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta educational interactivity level All possible entries in meta_format are shown...
static _getLocationTypeSelect($a_selected, $a_name, $prepend=array())
Prepare a meta location type.
static _getLearningResourceTypeSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta educational learning resource type All possible entries in meta_format are shown...
static _getTypicalAgeRangeSelect($a_selected, $a_name, $prepend=array())
Prepare a meta educational typical age range All possible entries in meta_format are shown...
static _getStatusSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta lifecycle status selector.
static _getPossibleLanguageCodes()
static _getFormatSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta technical format selector All possible entries in meta_format are shown.
static _getBrowserSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta technical browser selector.
if(!is_array($argv)) $options
static formSelect($selected, $varname, $options, $multiple=false, $direct_text=false, $size="0", $style_class="", $attribs="", $disabled=false)
Builds a select form field with options and shows the selected option first.
static _getDifficultySelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta educational difficulty All possible entries in meta_format are shown.
Create styles array
The data for the language used.
static _getStructureSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta general structure selector.
static _getOperatingSystemSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta technical os selector.
static _getContextSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta context.
static _getTypicalLearningTimeSelect($a_selected, $a_name, $prepend=array())
Prepare a meta educational typical learning time All possible entries in meta_format are shown...
static _getPurposeSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta rights copyright and other restrictions All possible entries in meta_format are shown...
static _getRoleSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta lifecycle status selector.
static _getInteractivityTypeSelect($a_selected, $a_name, $prepend=array(), $a_options_only=false)
Prepare a meta educational interactivity type All possible entries in meta_format are shown...