Ignore:
Timestamp:
Jan 19, 2014, 2:28:30 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Uživatelské akce přesunuty z modulu Portal do modulu User.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/System.php

    r599 r634  
    1717  var $Type;
    1818  var $Pages;
     19  var $Bars;
    1920  /** @var AppModuleManager */
    2021  var $ModuleManager;
     
    166167    $this->FormManager->Root = $this->RootURLFolder;
    167168 
     169    $this->RegisterPageBar('Top');
     170 
    168171    $Database = $this->Database;
    169172    RegisterFormClasses($this->FormManager); 
     
    182185    }   
    183186  }
     187 
     188  function RegisterPageBar($Name)
     189  {
     190        $this->Bars[$Name] = array();
     191  }
     192
     193  function UnregisterPageBar($Name)
     194  {
     195        unset($this->Bars[$Name]);
     196  }
     197
     198  function RegisterPageBarItem($BarName, $ItemName, $Callback)
     199  {
     200        $this->Bars[$BarName][$ItemName] = $Callback;
     201  }
    184202}
    185203
Note: See TracChangeset for help on using the changeset viewer.