Beispiel #1
0
 if ($item = $list->getNext()) {
     $navLinkAccessGroup->setGroupID($item->getID());
     $navLinkAccessGroup->setLinkID($link->getID());
     $navLinkAccessGroup->createNewEntry();
 }
 /*
  * NavLinkViewer Table
  *
  * Manages relationships between links and individual Viewers on the site.
  *
  * navlinkviewer_id [INTEGER]  Primary Key for this table
  * navbarlink_id [INTEGER]  Foreign Key pointing back to which link is being referenced.
  * viewer_id [INTEGER]  Foreign Key relating back to the viewer being assigned this link
  */
 $NavLinkViewer = new RowManager_NavLinkViewerManager();
 $NavLinkViewer->dropTable();
 $NavLinkViewer->createTable();
 /*
  * NavBarCache Table
  *
  * Stores the generated nav bar information for a user.
  *
  * navbarcache_id [INTEGER]  Primary Key for this table.
  * viewer_id [INTEGER]  Foreign Key linking this cache entry to a viewer.
  * language_id [INTEGER]  Foreign Key linking this cache entry to a particular language version. (each viewer can have a cache entry for each language)
  * navbarcache_cacheMain [STRING]  Holds the main nav bar data.
  * navbarcache_cacheSub [STRING]  Holds the sub menu data cache
  * navbarcache_isValid [BOOL]  BOOL flag indicating if this cache info is valid.
  */
 $NavBarCache = new RowManager_NavBarCacheManager();
 $NavBarCache->dropTable();