Пример #1
0
 function checkRequirement(am4AccessRequirement $r)
 {
     foreach ($this->getRecords() as $a) {
         if ($r->checkAccess($a)) {
             return true;
         }
     }
     return false;
 }