Pārlūkot izejas kodu

fixed hasField in TableAcl - read from real field types

Piotr Labudda 9 gadi atpakaļ
vecāks
revīzija
07a291ead8
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      SE/se-lib/TableAcl.php

+ 4 - 0
SE/se-lib/TableAcl.php

@@ -1931,4 +1931,8 @@ class TableAcl extends Core_AclBase {
 		return $childName;
 		return $childName;
 	}
 	}
 
 
+	public function hasField($fieldName) {// TODO: fix use Core_AclFields or ACL::getObjectFields($namespace) - use cache - one place to store structure
+		return array_key_exists($fieldName, $this->_types);
+  }
+
 }
 }