示例#1
0
 public function doRender()
 {
     foreach ($this->inputStreams as $inputStream) {
         $reader = new BasicInputStreamReader($inputStream);
         $reader->doEcho();
         unset($reader);
     }
 }
示例#2
0
 /**
  * Reads the file and writes it to the output buffer.
  * Note: At the end of the operation, the handler on the file will be closed.
  * 
  * @param int $chunkSize The length of the chunks (in bytes) that will be read in the
  *            loop until the end of the file.
  * @return int The number of bytes read from the file.
  * @throws EyeIOException
  * @throws EyeFileNotFoundException
  * @deprecated ################################################
  */
 public function echoFile($chunkSize = IInputStream::DEFAULT_READ_LENGTH)
 {
     return parent::doEcho(null, $chunkSize);
 }