"btn btn-primary", 'href' => Router::getRoute('Storage')->getLink('objectStruct', ['idStorage'=>36, 'namespace'=>'default_db/BI_audit_CEIDG/BI_audit_CEIDG']), ], "Storage BI_audit_CEIDG"); $refTableCom = ACL::getRefTable('default_db/BI_audit_CEIDG/BI_audit_CEIDG', 'default_db__x3A__BI_audit_CEIDG_powiazania:BI_audit_CEIDG_powiazania'); $refTablePer = ACL::getRefTable('default_db/BI_audit_CEIDG/BI_audit_CEIDG', 'default_db__x3A__BI_audit_CEIDG_pelnomocnicy:BI_audit_CEIDG_pelnomocnicy'); echo UI::h('pre', [], " Tabela `{$refTableCom}`: 'default_db/BI_audit_CEIDG/BI_audit_CEIDG' ref do 'default_db__x3A__BI_audit_CEIDG_powiazania:BI_audit_CEIDG_powiazania' Tablea `{$refTablePer}`: 'default_db/BI_audit_CEIDG/BI_audit_CEIDG' ref do 'default_db__x3A__BI_audit_CEIDG_pelnomocnicy:BI_audit_CEIDG_pelnomocnicy' "); $ceidgItems = ACL::getAclByNamespace('default_db/BI_audit_CEIDG/BI_audit_CEIDG')->buildQuery([ 'cols' => [ // TODO:? propertyName = [] 'ID', 'identyfikatorWpisu', 'imie', 'nazwisko', 'nip', 'regon', 'firma', 'miejscowosc', 'ulica', 'budynek', 'lokal', 'kodPocztowy', 'poczta', 'kraj', 'gmina', 'powiat', 'wojewodztwo', 'default_db__x3A__BI_audit_CEIDG_powiazania:BI_audit_CEIDG_powiazania/*', // TODO: '/**' recursive - deep limit? 'default_db__x3A__BI_audit_CEIDG_pelnomocnicy:BI_audit_CEIDG_pelnomocnicy/*', // TODO: '/**' recursive - deep limit? ] ])->getItems([ 'limit' => 10 ]); DBG::nicePrint($ceidgItems, '$ceidgItems - limit 10'); } catch (Exception $e) { DBG::log($e); UI::alert('danger', $e->getMessage()); } UI::endContainer(); UI::dol(); } }