Changeset 385 for trunk/Common/ViewList.php
- Timestamp:
- Jan 24, 2012, 11:40:43 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/ViewList.php
r383 r385 124 124 'Type' => ViewItemTypeString, 'SQL' => $Name); 125 125 } 126 127 function AddItemText($Name, $Title) 128 { 129 $this->Columns[$Name] = array('Name' => $Name, 'Title' => $Title, 130 'Type' => ViewItemTypeText, 'SQL' => $Name); 131 } 132 133 function AddItemDateTime($Name, $Title) 134 { 135 $this->Columns[$Name] = array('Name' => $Name, 'Title' => $Title, 136 'Type' => ViewItemTypeDateTime, 'SQL' => $Name); 137 } 138 139 function AddItemOneToMany($Name, $Title, $TargetTable) 140 { 141 $this->Columns[$Name] = array('Name' => $Name, 'Title' => $Title, 142 'Type' => ViewItemTypeOneToMany, 'SQL' => $Name, 'TargetTable' => $TargetTable); 143 } 126 144 } 127 145
Note:
See TracChangeset
for help on using the changeset viewer.