|
@@ 76-82 (lines=7) @@
|
| 73 |
|
return []; |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
protected function initListingElement() |
| 77 |
|
{ |
| 78 |
|
$this->addCheckboxGroup('listing', $this->getModelManager()->getLabel('form.listing'), false); |
| 79 |
|
$this->listing->addOption('public', $this->getModelManager()->getLabel('form.listing.public')) |
| 80 |
|
->addOption('admin', $this->getModelManager()->getLabel('form.listing.admin')) |
| 81 |
|
->getRenderer()->setSeparator(''); |
| 82 |
|
} |
| 83 |
|
|
| 84 |
|
/** |
| 85 |
|
* @return RecordManager |
|
@@ 105-111 (lines=7) @@
|
| 102 |
|
return []; |
| 103 |
|
} |
| 104 |
|
|
| 105 |
|
protected function initFilterElement() |
| 106 |
|
{ |
| 107 |
|
$this->addCheckboxGroup('filter', $this->getModelManager()->getLabel('form.filter'), false); |
| 108 |
|
$this->filter->addOption('public', $this->getModelManager()->getLabel('form.filter.public')) |
| 109 |
|
->addOption('admin', $this->getModelManager()->getLabel('form.filter.admin')) |
| 110 |
|
->getRenderer()->setSeparator(''); |
| 111 |
|
} |
| 112 |
|
|
| 113 |
|
public function getDataFromModel() |
| 114 |
|
{ |