|
@@ -106,9 +106,11 @@ class AntAclBase extends Core_AclBase {
|
|
|
}
|
|
}
|
|
|
public function getRealFieldListByIdZasob() {
|
|
public function getRealFieldListByIdZasob() {
|
|
|
$cols = array();
|
|
$cols = array();
|
|
|
- $fakeZasobId = 1000000;
|
|
|
|
|
|
|
+ $fakeZasobId = 1000000; // TODO: RMME
|
|
|
foreach ($this->getFields() as $field) {
|
|
foreach ($this->getFields() as $field) {
|
|
|
- $idZasobField = ($field['idZasob']) ? $field['idZasob'] : $fakeZasobId++;
|
|
|
|
|
|
|
+ $idZasobField = ($field['idZasob']) ? $field['idZasob'] : $fakeZasobId++; // TODO: RMME
|
|
|
|
|
+ if (!$field['isActive']) continue;
|
|
|
|
|
+ if (!$field['idZasob']) continue;
|
|
|
$cols[$idZasobField] = $field['fieldNamespace'];
|
|
$cols[$idZasobField] = $field['fieldNamespace'];
|
|
|
}
|
|
}
|
|
|
return $cols;
|
|
return $cols;
|