Пример #1
0
 $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();
 $NavBarCache->createTable();
 /*
  * NavBarContentData Table
  *
  * Holds the multilingual content (labels) for the nav bar information.
  *
  * navbarcontent_id [INTEGER]  Primary Key for this table
  * language_id [INTEGER]  Foriegn Key linking this content to a language
  * navbarcontent_key [STRING]  The content key for this content data.  Values are usually either "[group[ID#]]" or "[label[ID#]]"
  * navbarcontent_data [STRING]  The actual content to be displayed on the page.
  */
 //    $NavBarContentData = new RowManager_NavBarContentDataManager();
 //    $NavBarContentData->dropTable();
 //    $NavBarContentData->createTable();
 /*