@@ -237,7 +237,7 @@ |
||
| 237 | 237 | */ |
| 238 | 238 | public function val(string $sKey, $xValue) |
| 239 | 239 | { |
| 240 | - $this->xLibContainer->offsetSet($sKey, $xValue); |
|
| 240 | + $this->xLibContainer->offsetSet($sKey, $xValue); |
|
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | /** |
@@ -91,15 +91,15 @@ |
||
| 91 | 91 | return $this->xManager->getErrorMessage(); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | - /** |
|
| 95 | - * Add a response command to the array of commands |
|
| 96 | - * |
|
| 97 | - * @param string $sName The command name |
|
| 98 | - * @param array|JsonSerializable $aArgs The command arguments |
|
| 99 | - * @param bool $bRemoveEmpty |
|
| 100 | - * |
|
| 101 | - * @return Command |
|
| 102 | - */ |
|
| 94 | + /** |
|
| 95 | + * Add a response command to the array of commands |
|
| 96 | + * |
|
| 97 | + * @param string $sName The command name |
|
| 98 | + * @param array|JsonSerializable $aArgs The command arguments |
|
| 99 | + * @param bool $bRemoveEmpty |
|
| 100 | + * |
|
| 101 | + * @return Command |
|
| 102 | + */ |
|
| 103 | 103 | public function addCommand(string $sName, array|JsonSerializable $aArgs = [], |
| 104 | 104 | bool $bRemoveEmpty = false): Command |
| 105 | 105 | { |
@@ -10,25 +10,25 @@ discard block |
||
| 10 | 10 | { |
| 11 | 11 | use PageDatabagTrait; |
| 12 | 12 | |
| 13 | - /** |
|
| 14 | - * @inheritDoc |
|
| 15 | - */ |
|
| 16 | - protected function bagName(): string |
|
| 17 | - { |
|
| 18 | - return 'page'; |
|
| 19 | - } |
|
| 13 | + /** |
|
| 14 | + * @inheritDoc |
|
| 15 | + */ |
|
| 16 | + protected function bagName(): string |
|
| 17 | + { |
|
| 18 | + return 'page'; |
|
| 19 | + } |
|
| 20 | 20 | |
| 21 | - /** |
|
| 22 | - * @inheritDoc |
|
| 23 | - */ |
|
| 24 | - protected function bagAttr(): string |
|
| 25 | - { |
|
| 26 | - return 'number'; |
|
| 27 | - } |
|
| 21 | + /** |
|
| 22 | + * @inheritDoc |
|
| 23 | + */ |
|
| 24 | + protected function bagAttr(): string |
|
| 25 | + { |
|
| 26 | + return 'number'; |
|
| 27 | + } |
|
| 28 | 28 | |
| 29 | - /** |
|
| 30 | - * @inheritDoc |
|
| 31 | - */ |
|
| 29 | + /** |
|
| 30 | + * @inheritDoc |
|
| 31 | + */ |
|
| 32 | 32 | protected function limit(): int |
| 33 | 33 | { |
| 34 | 34 | return 10; |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | return 150; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - public function html(): string |
|
| 45 | + public function html(): string |
|
| 46 | 46 | { |
| 47 | 47 | return '<div style="margin-bottom:10px;font-weight:bold;">' . |
| 48 | 48 | $this->bag('page')->get('title') . |
@@ -4,17 +4,17 @@ |
||
| 4 | 4 | |
| 5 | 5 | class PageContent extends PageComponent |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * @inheritDoc |
|
| 9 | - */ |
|
| 7 | + /** |
|
| 8 | + * @inheritDoc |
|
| 9 | + */ |
|
| 10 | 10 | protected function limit(): int |
| 11 | 11 | { |
| 12 | 12 | return 10; |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | - /** |
|
| 16 | - * @inheritDoc |
|
| 17 | - */ |
|
| 15 | + /** |
|
| 16 | + * @inheritDoc |
|
| 17 | + */ |
|
| 18 | 18 | protected function count(): int |
| 19 | 19 | { |
| 20 | 20 | return 150; |
@@ -4,23 +4,23 @@ |
||
| 4 | 4 | |
| 5 | 5 | class PageContent extends PageComponent |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * @inheritDoc |
|
| 9 | - */ |
|
| 10 | - protected function limit(): int |
|
| 11 | - { |
|
| 12 | - return 10; |
|
| 13 | - } |
|
| 7 | + /** |
|
| 8 | + * @inheritDoc |
|
| 9 | + */ |
|
| 10 | + protected function limit(): int |
|
| 11 | + { |
|
| 12 | + return 10; |
|
| 13 | + } |
|
| 14 | 14 | |
| 15 | - /** |
|
| 16 | - * @inheritDoc |
|
| 17 | - */ |
|
| 18 | - protected function count(): int |
|
| 19 | - { |
|
| 20 | - return 150; |
|
| 21 | - } |
|
| 15 | + /** |
|
| 16 | + * @inheritDoc |
|
| 17 | + */ |
|
| 18 | + protected function count(): int |
|
| 19 | + { |
|
| 20 | + return 150; |
|
| 21 | + } |
|
| 22 | 22 | |
| 23 | - public function html(): string |
|
| 23 | + public function html(): string |
|
| 24 | 24 | { |
| 25 | 25 | return 'Showing page number ' . $this->currentPage(); |
| 26 | 26 | } |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | */ |
| 139 | 139 | public function val(string $sKey, $xValue) |
| 140 | 140 | { |
| 141 | - $this->xContainer->offsetSet($sKey, $xValue); |
|
| 141 | + $this->xContainer->offsetSet($sKey, $xValue); |
|
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | /** |