|
@@ 711-719 (lines=9) @@
|
| 708 |
|
* @param string|array $components |
| 709 |
|
* @return $this |
| 710 |
|
*/ |
| 711 |
|
public function addDocHeaderTopLeftComponents($components) |
| 712 |
|
{ |
| 713 |
|
if (is_string($components)) { |
| 714 |
|
$components = [$components]; |
| 715 |
|
} |
| 716 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::LEFT]; |
| 717 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::LEFT] = array_merge($currentComponents, $components); |
| 718 |
|
return $this; |
| 719 |
|
} |
| 720 |
|
|
| 721 |
|
/** |
| 722 |
|
* @return $array |
|
@@ 745-753 (lines=9) @@
|
| 742 |
|
* @param string|array $components |
| 743 |
|
* @return $this |
| 744 |
|
*/ |
| 745 |
|
public function addDocHeaderTopRightComponents($components) |
| 746 |
|
{ |
| 747 |
|
if (is_string($components)) { |
| 748 |
|
$components = [$components]; |
| 749 |
|
} |
| 750 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::RIGHT]; |
| 751 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::TOP][ModulePosition::RIGHT] = array_merge($currentComponents, $components); |
| 752 |
|
return $this; |
| 753 |
|
} |
| 754 |
|
|
| 755 |
|
/** |
| 756 |
|
* @return $array |
|
@@ 779-787 (lines=9) @@
|
| 776 |
|
* @param string|array $components |
| 777 |
|
* @return $this |
| 778 |
|
*/ |
| 779 |
|
public function addDocHeaderBottomLeftComponents($components) |
| 780 |
|
{ |
| 781 |
|
if (is_string($components)) { |
| 782 |
|
$components = [$components]; |
| 783 |
|
} |
| 784 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::LEFT]; |
| 785 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::LEFT] = array_merge($currentComponents, $components); |
| 786 |
|
return $this; |
| 787 |
|
} |
| 788 |
|
|
| 789 |
|
/** |
| 790 |
|
* @return $array |
|
@@ 813-821 (lines=9) @@
|
| 810 |
|
* @param string|array $components |
| 811 |
|
* @return $this |
| 812 |
|
*/ |
| 813 |
|
public function addDocHeaderBottomRightComponents($components) |
| 814 |
|
{ |
| 815 |
|
if (is_string($components)) { |
| 816 |
|
$components = [$components]; |
| 817 |
|
} |
| 818 |
|
$currentComponents = $this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::RIGHT]; |
| 819 |
|
$this->components[ModulePosition::DOC_HEADER][ModulePosition::BOTTOM][ModulePosition::RIGHT] = array_merge($currentComponents, $components); |
| 820 |
|
return $this; |
| 821 |
|
} |
| 822 |
|
|
| 823 |
|
/** |
| 824 |
|
* @return $array |