|
@@ 694-702 (lines=9) @@
|
| 691 |
|
* @param string|array $components |
| 692 |
|
* @return $this |
| 693 |
|
*/ |
| 694 |
|
public function addDocHeaderTopLeftComponents($components): self |
| 695 |
|
{ |
| 696 |
|
if (is_string($components)) { |
| 697 |
|
$components = [$components]; |
| 698 |
|
} |
| 699 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::LEFT]; |
| 700 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::LEFT] = array_merge($currentComponents, $components); |
| 701 |
|
return $this; |
| 702 |
|
} |
| 703 |
|
|
| 704 |
|
/** |
| 705 |
|
* @return $array |
|
@@ 727-735 (lines=9) @@
|
| 724 |
|
* @param string|array $components |
| 725 |
|
* @return $this |
| 726 |
|
*/ |
| 727 |
|
public function addDocHeaderTopRightComponents($components): self |
| 728 |
|
{ |
| 729 |
|
if (is_string($components)) { |
| 730 |
|
$components = [$components]; |
| 731 |
|
} |
| 732 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::RIGHT]; |
| 733 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::RIGHT] = array_merge($currentComponents, $components); |
| 734 |
|
return $this; |
| 735 |
|
} |
| 736 |
|
|
| 737 |
|
/** |
| 738 |
|
* @return $array |
|
@@ 760-768 (lines=9) @@
|
| 757 |
|
* @param string|array $components |
| 758 |
|
* @return $this |
| 759 |
|
*/ |
| 760 |
|
public function addDocHeaderBottomLeftComponents($components): self |
| 761 |
|
{ |
| 762 |
|
if (is_string($components)) { |
| 763 |
|
$components = [$components]; |
| 764 |
|
} |
| 765 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::LEFT]; |
| 766 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::LEFT] = array_merge($currentComponents, $components); |
| 767 |
|
return $this; |
| 768 |
|
} |
| 769 |
|
|
| 770 |
|
/** |
| 771 |
|
* @return $array |
|
@@ 793-801 (lines=9) @@
|
| 790 |
|
* @param string|array $components |
| 791 |
|
* @return $this |
| 792 |
|
*/ |
| 793 |
|
public function addDocHeaderBottomRightComponents($components): self |
| 794 |
|
{ |
| 795 |
|
if (is_string($components)) { |
| 796 |
|
$components = [$components]; |
| 797 |
|
} |
| 798 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::RIGHT]; |
| 799 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::RIGHT] = array_merge($currentComponents, $components); |
| 800 |
|
return $this; |
| 801 |
|
} |
| 802 |
|
|
| 803 |
|
/** |
| 804 |
|
* @return $array |