Changeset 634 for trunk/Application/System.php
- Timestamp:
- Jan 19, 2014, 2:28:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/System.php
r599 r634 17 17 var $Type; 18 18 var $Pages; 19 var $Bars; 19 20 /** @var AppModuleManager */ 20 21 var $ModuleManager; … … 166 167 $this->FormManager->Root = $this->RootURLFolder; 167 168 169 $this->RegisterPageBar('Top'); 170 168 171 $Database = $this->Database; 169 172 RegisterFormClasses($this->FormManager); … … 182 185 } 183 186 } 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 } 184 202 } 185 203
Note:
See TracChangeset
for help on using the changeset viewer.