/adei/trunk

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

« back to all changes in this revision

Viewing changes to classes/readers/virtualreader.php

  • Committer: Suren A. Chilingaryan
  • Date: 2009-09-18 02:49:11 UTC
  • Revision ID: csa@dside.dyndns.org-20090918024911-ujdmpy3tro2nxw4v
Control subsystem

Show diffs side-by-side

added added

removed removed

Lines of Context:
277
277
 }
278
278
 
279
279
 function GetMaskList(LOGGROUP $grp = NULL, $flags = 0) {
280
 
    $grp = $this->CheckGroup($grp);
 
280
    $grp = $this->CheckGroup($grp, $flags);
281
281
 
282
282
     if (strcmp($grp->gid, VIRTUALReader::SRCTREE_ID)) {
283
283
        return parent::GetMaskList($grp, $flags);
299
299
 function GetItemList(LOGGROUP $grp = NULL, MASK $mask = NULL, $flags = 0) {
300
300
    $flags &= ~REQUEST::CONTROL;
301
301
 
302
 
    $grp = $this->CheckGroup($grp);
303
 
    if (!$mask) $mask = $this->CreateMask($grp);
 
302
    $grp = $this->CheckGroup($grp, $flags);
 
303
    if (!$mask) $mask = $this->CreateMask($grp, $info = NULL, $flags);
304
304
 
305
305
    if ($grp->gid < 0) {
306
306
      if (!strcmp($grp->gid, VIRTUALReader::COMPLEX_ID)) {
335
335
 }
336
336
 
337
337
 function CreateInterval(LOGGROUP $grp = NULL, array &$iinfo = NULL, $flags = 0) {
338
 
    $grp = $this->CheckGroup($grp);
 
338
    $grp = $this->CheckGroup($grp, $flags);
339
339
 
340
340
    if (!$iinfo) {
341
341
        if ($this->req instanceof DATARequest)
404
404
 }
405
405
  
406
406
 function CreateCache(LOGGROUP $grp = NULL, $flags = 0) {
407
 
    $grp = $this->CheckGroup($grp);
 
407
    $grp = $this->CheckGroup($grp, $flags);
408
408
    
409
409
    $greq = $this->GetCachePostfix($grp);
410
410