src/eXpansion/Framework/Core/Plugins/Gui/WindowHelpFactory.php 1 location
|
@@ 102-114 (lines=13) @@
|
| 99 |
|
/** |
| 100 |
|
* @inheritdoc |
| 101 |
|
*/ |
| 102 |
|
protected function updateContent(ManialinkInterface $manialink) |
| 103 |
|
{ |
| 104 |
|
/** @var Frame $contentFrame */ |
| 105 |
|
$contentFrame = $manialink->getContentFrame(); |
| 106 |
|
$contentFrame->removeAllChildren(); |
| 107 |
|
|
| 108 |
|
$collection = $this->dataCollectionFactory->create($this->chatCommands->getChatCommands()); |
| 109 |
|
$collection->setPageSize(20); |
| 110 |
|
|
| 111 |
|
/** @var GridBuilder $gridBuilder */ |
| 112 |
|
$gridBuilder = $manialink->getData('grid'); |
| 113 |
|
$contentFrame->addChild($gridBuilder->build($contentFrame->getWidth(), $contentFrame->getHeight())); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
/** |
| 117 |
|
* Callbacked called when help button is pressed. |
src/eXpansion/Bundle/LocalRecords/Plugins/Gui/RecordsWindowFactory.php 1 location
|
@@ 74-86 (lines=13) @@
|
| 71 |
|
/** |
| 72 |
|
* @inheritdoc |
| 73 |
|
*/ |
| 74 |
|
protected function updateContent(ManialinkInterface $manialink) |
| 75 |
|
{ |
| 76 |
|
/** @var Frame $contentFrame */ |
| 77 |
|
$contentFrame = $manialink->getContentFrame(); |
| 78 |
|
$contentFrame->removeAllChildren(); |
| 79 |
|
|
| 80 |
|
$collection = $this->dataCollectionFactory->create($this->getRecordsData()); |
| 81 |
|
$collection->setPageSize(20); |
| 82 |
|
|
| 83 |
|
/** @var GridBuilder $gridBuilder */ |
| 84 |
|
$gridBuilder = $manialink->getData('grid'); |
| 85 |
|
$contentFrame->addChild($gridBuilder->build($contentFrame->getWidth(), $contentFrame->getHeight())); |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
/** |
| 89 |
|
* @return array |
src/eXpansion/Framework/Core/Plugins/Gui/GridWindowFactory.php 1 location
|
@@ 58-70 (lines=13) @@
|
| 55 |
|
/** |
| 56 |
|
* @inheritdoc |
| 57 |
|
*/ |
| 58 |
|
protected function updateContent(ManialinkInterface $manialink) |
| 59 |
|
{ |
| 60 |
|
/** @var Frame $contentFrame */ |
| 61 |
|
$contentFrame = $manialink->getContentFrame(); |
| 62 |
|
$contentFrame->removeAllChildren(); |
| 63 |
|
|
| 64 |
|
$collection = $this->dataCollectionFactory->create($this->getData()); |
| 65 |
|
$collection->setPageSize(20); |
| 66 |
|
|
| 67 |
|
/** @var GridBuilder $gridBuilder */ |
| 68 |
|
$gridBuilder = $manialink->getData('grid'); |
| 69 |
|
$contentFrame->addChild($gridBuilder->build($contentFrame->getWidth(), $contentFrame->getHeight())); |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
/** |
| 73 |
|
* @param array $data |