Nav/RedButtons

* pass parameters as ready to use - objects
This commit is contained in:
Sarjuuk
2017-02-20 02:34:26 +01:00
parent 739e7bc81a
commit 090410cbf8
18 changed files with 54 additions and 23 deletions

View File

@@ -249,7 +249,7 @@ class ObjectPage extends GenericPage
$this->relBoss = $relBoss;
$this->redButtons = array(
BUTTON_WOWHEAD => true,
BUTTON_LINKS => true,
BUTTON_LINKS => ['type' => $this->type, 'typeId' => $this->typeId],
BUTTON_VIEW3D => ['displayId' => $this->subject->getField('displayId'), 'type' => TYPE_OBJECT, 'typeId' => $this->typeId]
);