@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | public function __construct(Func_App $app, $id = null, Widget_Layout $layout = null) |
| 116 | 116 | { |
| 117 | 117 | parent::__construct($app); |
| 118 | - // We simulate inheritance from Widget_VBoxLayout. |
|
| 118 | + // We simulate inheritance from Widget_VBoxLayout. |
|
| 119 | 119 | $W = $this->widgets = bab_Widgets(); |
| 120 | 120 | |
| 121 | 121 | $this->buttonsLayout = $this->buttonsLayout(); |
@@ -322,9 +322,9 @@ discard block |
||
| 322 | 322 | $cancelLabel = isset($this->cancelLabel) ? $this->cancelLabel : $App->translate('Cancel'); |
| 323 | 323 | $this->addButton( |
| 324 | 324 | $W->SubmitButton(/*'cancel'*/) |
| 325 | - ->addClass('widget-close-dialog') |
|
| 325 | + ->addClass('widget-close-dialog') |
|
| 326 | 326 | ->setAction($this->cancelAction) |
| 327 | - ->setLabel($cancelLabel) |
|
| 327 | + ->setLabel($cancelLabel) |
|
| 328 | 328 | ); |
| 329 | 329 | } |
| 330 | 330 | } |
@@ -1170,21 +1170,21 @@ discard block |
||
| 1170 | 1170 | |
| 1171 | 1171 | |
| 1172 | 1172 | |
| 1173 | - protected function addCustomFields(app_RecordSet $recordSet) |
|
| 1174 | - { |
|
| 1175 | - $customFields = $recordSet->getCustomFields(); |
|
| 1173 | + protected function addCustomFields(app_RecordSet $recordSet) |
|
| 1174 | + { |
|
| 1175 | + $customFields = $recordSet->getCustomFields(); |
|
| 1176 | 1176 | |
| 1177 | 1177 | foreach ($customFields as $customField) { |
| 1178 | 1178 | $fieldname = $customField->fieldname; |
| 1179 | 1179 | $this->addColumn( |
| 1180 | 1180 | widget_TableModelViewColumn($recordSet->$fieldname, $customField->name) |
| 1181 | - ->setSortable(true) |
|
| 1182 | - ->setExportable(true) |
|
| 1183 | - ->setSearchable($customField->searchable) |
|
| 1184 | - ->setVisible($customField->visible) |
|
| 1181 | + ->setSortable(true) |
|
| 1182 | + ->setExportable(true) |
|
| 1183 | + ->setSearchable($customField->searchable) |
|
| 1184 | + ->setVisible($customField->visible) |
|
| 1185 | 1185 | ); |
| 1186 | 1186 | } |
| 1187 | - } |
|
| 1187 | + } |
|
| 1188 | 1188 | |
| 1189 | 1189 | |
| 1190 | 1190 | /** |