
Öffentliche Methoden | |
| TextElement ($t='') | |
| parseStyleClass () | |
| parseTitleText () | |
Öffentliche Attribute | |
| $text = '' | |
Definiert in Zeile 8 der Datei TextElement.class.php.
| TextElement::parseStyleClass | ( | ) |
Definiert in Zeile 21 der Datei TextElement.class.php.
Wird benutzt von TextElement().
00022 { 00023 $char1 = substr($this->text,0,1); 00024 if ( $char1 == "(" ) 00025 { 00026 $pos2 = strpos($this->text,")",2); 00027 if ( $pos2 !== false ) 00028 { 00029 $this->style = substr($this->text,1,$pos2-1); 00030 $this->text = substr($this->text,$pos2+1); 00031 00032 // Wenn kein Doppelpunkt in den Styleangaben vorkommt, dann 00033 // handelt es sich um einen Klassennamen. 00034 if ( strpos($this->style,':') === false ) 00035 { 00036 $this->class = $this->style; 00037 $this->style = ''; 00038 } 00039 } 00040 } 00041 }
| TextElement::parseTitleText | ( | ) |
Definiert in Zeile 45 der Datei TextElement.class.php.
Wird benutzt von TextElement().
00046 { 00047 $char1 = substr($this->text,0,1); 00048 if ( $char1 == "'" ) 00049 { 00050 $pos2 = strpos($this->text,"'",2); 00051 if ( $pos2 !== false ) 00052 { 00053 $this->title = substr($this->text,1,$pos2-1); 00054 $this->text = substr($this->text,$pos2+1); 00055 } 00056 } 00057 }
| TextElement::TextElement | ( | $ | t = '' |
) |
Definiert in Zeile 12 der Datei TextElement.class.php.
Benutzt parseStyleClass() und parseTitleText().
00013 { 00014 $this->text = $t; 00015 00016 $this->parseStyleClass(); 00017 $this->parseTitleText(); 00018 }
| TextElement::$text = '' |
Definiert in Zeile 10 der Datei TextElement.class.php.
1.5.8