|
|
@@ -15,6 +15,7 @@ Lib::loadClass('ACL');
|
|
|
class Core_AclBase {
|
|
|
|
|
|
public $_zasobID = 0;
|
|
|
+ public $_db = 0; // database id zasobu
|
|
|
public $_rootTableName = null;
|
|
|
|
|
|
public function getNamespace() { throw new HttpException("Acl function " . __FUNCTION__ . " Not implemented", 501); }
|
|
|
@@ -27,6 +28,7 @@ class Core_AclBase {
|
|
|
// TODO: get more xsd restrictions like minOccurs, maxOccurs, nillable and restrictions
|
|
|
|
|
|
public function getID() { return $this->_zasobID; }
|
|
|
+ public function getDatabaseID() { return $this->_db; }
|
|
|
public function init($force = false) { throw new HttpException("Acl function " . __FUNCTION__ . " Not implemented", 501); }
|
|
|
public function isInitialized() { throw new HttpException("Acl function " . __FUNCTION__ . " Not implemented", 501); }
|
|
|
public function hasField($fieldName) {// TODO: fix use Core_AclFields or ACL::getObjectFields($namespace) - use cache - one place to store structure
|