|
|
@@ -18,8 +18,8 @@ class AntAclBase extends Core_AclBase {
|
|
|
public function getName() { return $this->_name; }
|
|
|
public function getNamespace() { return $this->_namespace; }
|
|
|
public function getSourceName() { return 'default_db'; } // TODO: ?
|
|
|
- public function getRootTableName() { $this->_rootTableName; }
|
|
|
- public function getPrimaryKeyField() { $this->_primaryKey; }
|
|
|
+ public function getRootTableName() { return $this->_rootTableName; }
|
|
|
+ public function getPrimaryKeyField() { return $this->_primaryKey; }
|
|
|
public function getFieldListByIdZasob() { return $this->getRealFieldListByIdZasob(); }
|
|
|
public function getVirtualFieldListByIdZasob() { return []; }
|
|
|
public function getVisibleFieldListByIdZasob() { return $this->getRealFieldListByIdZasob(); } // TODO: get visible fields
|
|
|
@@ -143,7 +143,7 @@ class AntAclBase extends Core_AclBase {
|
|
|
$acl->_rootTableName = $conf['_rootTableName'];
|
|
|
$acl->_namespace = $conf['namespace'];
|
|
|
$acl->_fields = $conf['field']; // TODO: lazyLoading - use getFields() in all functions
|
|
|
- $acl->_primaryKey = $conf['primaryKey'];
|
|
|
+ $acl->_primaryKey = 'ID'; // $conf['primaryKey'];
|
|
|
|
|
|
// 'idZasob' => '25872',
|
|
|
// 'idDatabase' => '36',
|