Beispiel #1
0
 private static function _getObject(Resultset $rs, Project $project)
 {
     $ret = new Project_Log($project);
     $ret->setId($rs->getId());
     $ret->setDate($rs->getDate());
     $ret->setType($rs->getType());
     $ret->setMessage($rs->getMessage());
     $ret->setUsername($rs->getUsername());
     $ret->resetSignature();
     return $ret;
 }
Beispiel #2
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;
 }
Beispiel #3
0
 private static function _getObject(Resultset $rs, Project_Build $build)
 {
     $ret = new self($build);
     $ret->setDate($rs->getDate());
     $ret->setVersion($rs->getVersion());
     $ret->resetSignature();
     return $ret;
 }
Beispiel #4
0
 private static function _getObject(Resultset $rs, Project $project)
 {
     $ret = new Project_Build($project);
     $ret->setId($rs->getId());
     $ret->setDate($rs->getDate());
     $ret->setDuration($rs->getDuration());
     $ret->setLabel($rs->getLabel());
     $ret->setDescription($rs->getDescription());
     $ret->setOutput($rs->getOutput());
     $ret->setReleaseFile($rs->getReleaseFile());
     $specialTasks = @unserialize($rs->getSpecialTasks());
     if ($specialTasks === false) {
         $specialTasks = array();
     }
     $ret->setSpecialTasks($specialTasks);
     $ret->setStatus($rs->getStatus());
     $ret->setScmRevision($rs->getScmRevision());
     //
     // Get all extras related to this build
     //
     //$ret->setPtrPhpDepend(PhpDepend::getById($ret, $GLOBALS['user'], Access::READ));
     $ret->resetSignature();
     return $ret;
 }