Changeset 47 for trunk/Base/HTML/Table.php
- Timestamp:
- Jul 27, 2014, 9:14:56 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 2 1 config.php 2 .project
-
- Property svn:ignore
-
trunk/Base/HTML/Table.php
r42 r47 14 14 var $TotalRowCount; 15 15 var $RowPerPage = 20; 16 16 17 17 function __construct($System, $FormClass) 18 18 { 19 19 $this->System = $System; 20 $this->Definition = $FormClass; 20 $this->Definition = $FormClass; 21 21 $this->QueryParameters = array(); 22 22 } 23 23 24 24 function CheckOrder() 25 25 { … … 33 33 { 34 34 if(array_key_exists('DefaultOrderColumn', $this->Definition)) $_GET['Column'] = $this->Definition['DefaultOrderColumn']; 35 else 35 else 36 36 { 37 37 $Keys = array_keys($this->Definition['Items']); … … 64 64 $Output .= '<div class="Pager">'.$this->PageList('Page', $this->Page, $this->TotalRowCount, $this->RowPerPage).'</div>'; 65 65 return($Output); 66 } 67 66 } 67 68 68 function LoadValuesFromDatabase($Database) 69 { 69 { 70 70 $this->CheckOrder(); 71 71 $OrderType = array('ASC', 'DESC'); … … 103 103 $this->Values[] = $Row; 104 104 } 105 } 105 } 106 106 } 107 108 ?>
Note:
See TracChangeset
for help on using the changeset viewer.