Prado\Web\UI\THtmlWriter::writeLine PHP Метод

writeLine() публичный Метод

Renders a string and appends a newline to it.
public writeLine ( $str = '' )
    public function writeLine($str = '')
    {
        $this->_writer->write($str . "\n");
    }

Usage Example

Пример #1
0
 public function testWriteLine()
 {
     $writer = new THtmlWriter(self::$output);
     $writer->writeLine('Some Text');
     self::assertEquals("Some Text\n", self::$output->flush());
 }