Exemplo n.º 1
0
 /**
  * Cache the interface items
  */
 public function cacheInterfaceItems()
 {
     $u = new ConcreteUser();
     if ($u->isRegistered()) {
         Loader::helper('concrete/dashboard')->getIntelligentSearchMenu();
     }
 }
Exemplo n.º 2
0
 public static function getMine()
 {
     $u = new ConcreteUser();
     $qn = unserialize($u->config('QUICK_NAV_BOOKMARKS'));
     if (is_object($qn)) {
         return $qn;
     }
     $qn = new DashboardMenu();
     $qnx = new DefaultDashboardMenu();
     $qn->items = $qnx->items;
     return $qn;
 }