|
@@ 696-704 (lines=9) @@
|
| 693 |
|
* @param string|array $components |
| 694 |
|
* @return $this |
| 695 |
|
*/ |
| 696 |
|
public function addDocHeaderTopLeftComponents($components) |
| 697 |
|
{ |
| 698 |
|
if (is_string($components)) { |
| 699 |
|
$components = [$components]; |
| 700 |
|
} |
| 701 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::LEFT]; |
| 702 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::LEFT] = array_merge($currentComponents, $components); |
| 703 |
|
return $this; |
| 704 |
|
} |
| 705 |
|
|
| 706 |
|
/** |
| 707 |
|
* @return $array |
|
@@ 730-738 (lines=9) @@
|
| 727 |
|
* @param string|array $components |
| 728 |
|
* @return $this |
| 729 |
|
*/ |
| 730 |
|
public function addDocHeaderTopRightComponents($components) |
| 731 |
|
{ |
| 732 |
|
if (is_string($components)) { |
| 733 |
|
$components = [$components]; |
| 734 |
|
} |
| 735 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::RIGHT]; |
| 736 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::RIGHT] = array_merge($currentComponents, $components); |
| 737 |
|
return $this; |
| 738 |
|
} |
| 739 |
|
|
| 740 |
|
/** |
| 741 |
|
* @return $array |
|
@@ 764-772 (lines=9) @@
|
| 761 |
|
* @param string|array $components |
| 762 |
|
* @return $this |
| 763 |
|
*/ |
| 764 |
|
public function addDocHeaderBottomLeftComponents($components) |
| 765 |
|
{ |
| 766 |
|
if (is_string($components)) { |
| 767 |
|
$components = [$components]; |
| 768 |
|
} |
| 769 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::LEFT]; |
| 770 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::LEFT] = array_merge($currentComponents, $components); |
| 771 |
|
return $this; |
| 772 |
|
} |
| 773 |
|
|
| 774 |
|
/** |
| 775 |
|
* @return $array |
|
@@ 798-806 (lines=9) @@
|
| 795 |
|
* @param string|array $components |
| 796 |
|
* @return $this |
| 797 |
|
*/ |
| 798 |
|
public function addDocHeaderBottomRightComponents($components) |
| 799 |
|
{ |
| 800 |
|
if (is_string($components)) { |
| 801 |
|
$components = [$components]; |
| 802 |
|
} |
| 803 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::RIGHT]; |
| 804 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::RIGHT] = array_merge($currentComponents, $components); |
| 805 |
|
return $this; |
| 806 |
|
} |
| 807 |
|
|
| 808 |
|
/** |
| 809 |
|
* @return $array |