Changes between Version 13 and Version 14 of BoltRef
- Timestamp:
- Dec 13, 2007, 11:42:13 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BoltRef
v13 v14 29 29 The available information is: 30 30 {{{ 31 $student .sex; // 0=unknown, 1=male, 2=female32 $student .birth_year;33 $student .country;34 $student .name;35 $student .bandwidth; // 1: <100Kb; 2: <1Mb; 3: <10Mb etc.36 $student .has_audio_output; // 1: no, 2: yes37 $student .has_audio_input;31 $student->sex; // 0=unknown, 1=male, 2=female 32 $student->birth_year; 33 $student->country; 34 $student->name; 35 $student->bandwidth; // 1: <100Kb; 2: <1Mb; 3: <10Mb etc. 36 $student->has_audio_output; // 1: no, 2: yes 37 $student->has_audio_input; 38 38 }}} 39 39 40 40 For example, suppose you want to use a larger font for students over 50: 41 41 {{{ 42 if ($student .age > 50) {42 if ($student->age > 50) { 43 43 echo "<style> 44 44 body {font-size: large;} … … 135 135 lesson(...), 136 136 lesson(...), 137 exercise(...) ,137 exercise(...) 138 138 ); 139 139 ?>