@@ 163-179 (lines=17) @@ | ||
160 | return $output; |
|
161 | } |
|
162 | ||
163 | public function generateShow() |
|
164 | { |
|
165 | $output = ''; |
|
166 | ||
167 | foreach ($this->getTableColumns() as $column) { |
|
168 | $name = $column->getName(); |
|
169 | ||
170 | // set column label |
|
171 | $label = $this->formatLabel($name); |
|
172 | ||
173 | $output .= sprintf($this->formats['show_field'], $name, $label); |
|
174 | ||
175 | $output .= ";\r\n"; |
|
176 | } |
|
177 | ||
178 | return $output; |
|
179 | } |
|
180 | ||
181 | public function generateGrid() |
|
182 | { |
|
@@ 181-194 (lines=14) @@ | ||
178 | return $output; |
|
179 | } |
|
180 | ||
181 | public function generateGrid() |
|
182 | { |
|
183 | $output = ''; |
|
184 | ||
185 | foreach ($this->getTableColumns() as $column) { |
|
186 | $name = $column->getName(); |
|
187 | $label = $this->formatLabel($name); |
|
188 | ||
189 | $output .= sprintf($this->formats['grid_column'], $name, $label); |
|
190 | $output .= ";\r\n"; |
|
191 | } |
|
192 | ||
193 | return $output; |
|
194 | } |
|
195 | ||
196 | protected function getReservedColumns() |
|
197 | { |