コード例 #1
0
 protected function getFormMapping()
 {
     $protoMapping = $this->proto->getFormMapping();
     if ($this->limitedPropertiesList === null) {
         return $protoMapping;
     }
     $result = [];
     foreach ($protoMapping as $id => $value) {
         if (!isset($this->limitedPropertiesList[$id])) {
             continue;
         }
         $result[$id] = $value;
     }
     return $result;
 }