/dev/adei-asec

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/adei-asec

« back to all changes in this revision

Viewing changes to classes/readers/virtualreader.php

  • Committer: Suren A. Chilingaryan
  • Date: 2011-03-15 02:47:05 UTC
  • mfrom: (210.1.3 adei)
  • Revision ID: csa@dside.dyndns.org-20110315024705-qljn30gwin8yrkne
Integration of work of students with fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
514
514
    return $rdr->HaveData($group, $from, $to);
515
515
 }
516
516
 
517
 
 function Export(DATAHandler $h = NULL, LOGGROUP $grp = NULL, MASK $mask = NULL, INTERVAL $ivl = NULL, $resample = 0, $opts = 0) {
 
517
 function Export(DATAHandler $h = NULL, LOGGROUP $grp = NULL, MASK $mask = NULL, INTERVAL $ivl = NULL, $resample = 0, $opts = 0, $dmcb = NULL) {
518
518
    if ($grp->gid < 0) {
519
519
        if (!strcmp($grp->gid, VIRTUALReader::COMPLEX_ID)) {
520
520
            throw new ADEIException(translate("Data could not be retrieved from complex groups"));
530
530
    $group = $rdr->CreateGroup();
531
531
 
532
532
    $mask = $rdr->CreateMask();
533
 
    return $rdr->Export($h, $group, $mask, $ivl, $resample, $opts);
 
533
    return $rdr->Export($h, $group, $mask, $ivl, $resample, $opts, $dmcb);
534
534
 }
535
535
 
536
536
 function CastProps(&$props, $id) {