Esempio n. 1
0
 /** Get the value of the tag as raw data, without any text processing applied.
  *
  * @param TextFormatter formatter
  * @return str
  */
 public function text($formatter)
 {
     return $formatter->asCode(parent::text($formatter));
 }
Esempio n. 2
0
 /** Get value of this tag.
  *
  * @return str
  */
 function text()
 {
     return '<code>' . parent::text() . '</code>';
 }