| 1 | <?php |
||
| 9 | class Manialink implements ManialinkInterface |
||
| 10 | { |
||
| 11 | use DataStorageTrait; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | protected $id; |
||
| 15 | |||
| 16 | /** @var string */ |
||
| 17 | protected $name; |
||
| 18 | |||
| 19 | /** @var Group */ |
||
| 20 | protected $group; |
||
| 21 | |||
| 22 | /** @var float */ |
||
| 23 | protected $sizeX; |
||
| 24 | |||
| 25 | /** @var float */ |
||
| 26 | protected $sizeY; |
||
| 27 | |||
| 28 | /** @var float */ |
||
| 29 | protected $posX; |
||
| 30 | |||
| 31 | /** @var float */ |
||
| 32 | protected $posY; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Manialive constructor. |
||
| 36 | * @param Group $group |
||
| 37 | */ |
||
| 38 | 21 | public function __construct( |
|
| 54 | |||
| 55 | /** |
||
| 56 | * |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | 10 | public function getXml() |
|
| 66 | |||
| 67 | /** |
||
| 68 | * |
||
| 69 | * @return Group |
||
| 70 | */ |
||
| 71 | 11 | public function getUserGroup() |
|
| 75 | |||
| 76 | /** |
||
| 77 | * |
||
| 78 | * @return string |
||
| 79 | */ |
||
| 80 | 16 | public function getId() |
|
| 84 | |||
| 85 | /** |
||
| 86 | * @inheritdoc |
||
| 87 | */ |
||
| 88 | public function addChild(Renderable $child) |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @inheritdoc |
||
| 94 | */ |
||
| 95 | public function getChildren() |
||
| 98 | |||
| 99 | public function removeChild(Renderable $child) |
||
| 103 | |||
| 104 | /** |
||
| 105 | * @inheritdoc |
||
| 106 | */ |
||
| 107 | public function getContentFrame() |
||
| 110 | } |
||
| 111 |