Procházet zdrojové kódy

fixed hasField in TableAcl - read from real field types

Piotr Labudda před 9 roky
rodič
revize
07a291ead8
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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;
 	}
 
+	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);
+  }
+
 }