Exemplo n.º 1
0
 function getPropAssessUsesDetails($propAssessUsesID)
 {
     $propAssessUses = new PropAssessUses();
     $propAssessUses->selectRecord($propAssessUsesID);
     if (!($domDoc = $propAssessUses->getDomDocument())) {
         return false;
     } else {
         $xmlStr = $domDoc->dump_mem(true);
         return $xmlStr;
     }
 }
Exemplo n.º 2
0
 function updateStatus($statusIDArray = "")
 {
     $rows = 0;
     $this->selectRecords();
     foreach ($this->arrayList as $key => $value) {
         $value->status = "inactive";
         $value->updateRecord();
     }
     foreach ($statusIDArray as $key => $value) {
         $propAssessUses = new PropAssessUses();
         $propAssessUses->selectRecord($value);
         $propAssessUses->status = "active";
         $propAssessUses->updateRecord();
         $rows++;
     }
     return $rows;
 }