Changeset 424 for branches/Modular/Common/Page.php
- Timestamp:
- Oct 10, 2012, 9:29:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Modular/Common/Page.php
r404 r424 5 5 class Page 6 6 { 7 /** @var Database */ 7 8 var $Database; 9 /** @var System */ 8 10 var $System; 9 11 var $Config; … … 14 16 var $NavigationPath = array(); 15 17 16 function __construct() 18 public static function Cast(Page &$Object = NULL) 19 { 20 return $Object; 21 } 22 23 function __construct() 17 24 { 18 25 global $Config; … … 55 62 <div id="Title">'.$Title.'</div> 56 63 <div class="Navigation"><span class="MenuItem"><strong>Navigace :: </strong> '.$Navigation.'</span><div class="MenuItem2">'; 57 if(array_key_exists('User', $this->System->Modules) )64 if(array_key_exists('User', $this->System->Modules) and $this->System->Modules['User']->Installed) 58 65 { 59 66 if($this->System->Modules['User']->Models['User']->User['Id'] == $this->System->Modules['User']->Models['User']->AnonymousUserId)
Note:
See TracChangeset
for help on using the changeset viewer.