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

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

This will invoke the underlying writer's flush method.
public flush ( ) : string
Результат string the content being flushed
    public function flush()
    {
        return $this->_writer->flush();
    }

Usage Example

Пример #1
0
 public function testFlush()
 {
     $writer = new THtmlWriter(self::$output);
     $writer->write('Some Text');
     $writer->flush();
     self::assertEquals('Some Text', self::$output->getFlushedContent());
 }