writeText() public method

Accept UTF-8 text for printing.
public writeText ( string $text )
$text string Text to print
Beispiel #1
0
 /**
  * Add text to the buffer.
  *
  * Text should either be followed by a line-break, or feed() should be called
  * after this to clear the print buffer.
  *
  * @param string $str Text to print
  */
 public function text($str = "")
 {
     self::validateString($str, __FUNCTION__);
     $this->buffer->writeText((string) $str);
 }