/adei/ui

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/ui

« back to all changes in this revision

Viewing changes to classes/stream/streamfilereader.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-04-02 10:23:22 UTC
  • Revision ID: csa@dside.dyndns.org-20080402102322-okib92sicg2dx3o3
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
class STREAMFileReader extends STREAMHandler implements STREAMSequenceInterface, STREAMWriterInterface {
 
4
 function WriteData(&$data) {
 
5
    if (!$this->next)
 
6
        throw new ADEIException(translate("STREAMFileReader could not be a last element in the chain"));
 
7
 
 
8
    $this->next->WriteFile($data);
 
9
 }
 
10
}
 
11
 
 
12
 
 
13
?>
 
 
b'\\ No newline at end of file'