示例#1
0
 private static function _getObject(Resultset $rs, Project_Build $build)
 {
     $ret = new self($build);
     $ret->setDate($rs->getDate());
     $ret->setVersion($rs->getVersion());
     $ret->setAhh($rs->getAhh());
     $ret->setAndc($rs->getAndc());
     $ret->setCalls($rs->getCalls());
     $ret->setCcn($rs->getCcn());
     $ret->setCcn2($rs->getCcn2());
     $ret->setCloc($rs->getCloc());
     $ret->setClsa($rs->getClsa());
     $ret->setClsc($rs->getClsc());
     $ret->setEloc($rs->getEloc());
     $ret->setFanout($rs->getFanout());
     $ret->setLeafs($rs->getLeafs());
     $ret->setLloc($rs->getLloc());
     $ret->setLoc($rs->getLoc());
     $ret->setMaxDit($rs->getMaxDit());
     $ret->setNcloc($rs->getNcloc());
     $ret->setNoc($rs->getNoc());
     $ret->setNof($rs->getNof());
     $ret->setNoi($rs->getNoi());
     $ret->setNom($rs->getNom());
     $ret->setNop($rs->getNop());
     $ret->setRoots($rs->getRoots());
     $ret->resetSignature();
     return $ret;
 }