コード例 #1
0
ファイル: streamoutput.php プロジェクト: nicolaisi/adei
 function SequenceStart(&$args = NULL)
 {
     if ($args && $args['expected_blocks'] > 1) {
         throw new ADEIException(translate("Invalid STREAM. The multiple groups are not supported by STREAMOutput"));
     }
     $this->count = 0;
     parent::SequenceStart($args);
 }
コード例 #2
0
ファイル: streamfilter.php プロジェクト: nicolaisi/adei
 function SequenceStart(&$args = NUL)
 {
     if ($this->joiner) {
         $new_args = $args;
         $new_args['expected_blocks'] = 1;
         parent::SequenceStart($new_args);
         if ($this->saved_next) {
             $this->object->SetOutput($this->next);
         }
         parent::Start($args);
         $this->count = 0;
         $this->object->Open($args);
     } else {
         parent::SequenceStart($args);
         if ($this->saved_next) {
             $this->object->SetOutput($this->next);
         }
     }
 }