Changeset 383 for trunk/Modules/Project/Project.php
- Timestamp:
- Jan 23, 2012, 10:37:31 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Project/Project.php
r378 r383 1 1 <?php 2 3 class ProjectPage extends Page 4 { 5 var $FullTitle = 'Projekty'; 6 var $ShortTitle = 'Projekty'; 7 8 function Show() 9 { 10 $View = new ProjectView($this->System); 11 $View->LoadFromDatabase(); 12 return($View->Show()); 13 } 14 } 15 16 class ProjectView extends ViewList 17 { 18 function __construct($System) 19 { 20 parent::__construct($System); 21 $this->Name = 'Project'; 22 //$this->AddPropertyDateTime('TimeSchedule'); 23 //$this->AddPropertyOneToMany('UserAssignedTo', 'User'); 24 //$this->AddPropertyText('Description'); 25 $this->AddItemString('Description', 'Description'); 26 } 27 } 2 28 3 29 class Project extends Model … … 50 76 function Init() 51 77 { 78 $this->System->Pages['projekt'] = 'ProjectPage'; 52 79 } 53 80 }
Note:
See TracChangeset
for help on using the changeset viewer.