Пример #1
0
 function getAll()
 {
     $manager = new Indicator_Manager($this->trace->getUri());
     $cursor = $this->StoreDB->find();
     $res = array();
     foreach ($cursor as $document) {
         if ($manager->exist($document["Name"])) {
             $document['got'] = "yes";
         } else {
             $document['got'] = "no";
         }
         $res[] = $document;
     }
     return $res;
 }