Пример #1
0
 function Start(&$args = NULL)
 {
     if ($this->count++) {
         throw new ADEIException(translate("Invalid STREAM. The multiple groups are not supported by STREAMOutput"));
     }
     parent::Start($args);
     $this->object->Open();
 }
Пример #2
0
 function Start(&$args = NULL)
 {
     parent::Start($args);
     if ($this->object->output) {
         $this->object->Open();
     } else {
         if ($args && $args['extension']) {
             $this->filename = GetTmpFile("adei_stream_filewriter_", $args['extension']);
         } else {
             $this->filename = GetTmpFile("adei_stream_filewriter_");
         }
         $this->object->Open($this->filename);
     }
 }
Пример #3
0
 function Start(&$args = NULL)
 {
     if ($this->joiner) {
         if ($this->count) {
             $new_args = $args;
             $new_args['block_number'] = $this->count;
             unset($args);
             $args =& $new_args;
         }
         $this->count++;
     } else {
         parent::Start($args);
         $this->object->Open($args);
     }
     $this->object->BlockStart($args);
 }