| @@ 516-524 (lines=9) @@ | ||
| 513 | * @internal |
|
| 514 | * @see writeMenu(), AbstractMenuContentObject::subMenu() |
|
| 515 | */ |
|
| 516 | public function extProc_afterLinking($key) |
|
| 517 | { |
|
| 518 | // Add part to the accumulated result + fetch submenus |
|
| 519 | if (!$this->I['spacer']) { |
|
| 520 | $this->I['theItem'] .= $this->subMenu($this->I['uid'], $this->WMsubmenuObjSuffixes[$key]['sOSuffix']); |
|
| 521 | } |
|
| 522 | $part = isset($this->I['val']['wrapItemAndSub.']) ? $this->WMcObj->stdWrap($this->I['val']['wrapItemAndSub'], $this->I['val']['wrapItemAndSub.']) : $this->I['val']['wrapItemAndSub']; |
|
| 523 | $this->WMresult .= $part ? $this->WMcObj->wrap($this->I['theItem'], $part) : $this->I['theItem']; |
|
| 524 | } |
|
| 525 | ||
| 526 | /** |
|
| 527 | * Called before the "wrap" happens on the menu item. |
|
| @@ 232-240 (lines=9) @@ | ||
| 229 | * @access private |
|
| 230 | * @see writeMenu() |
|
| 231 | */ |
|
| 232 | public function extProc_afterLinking($key) |
|
| 233 | { |
|
| 234 | // Add part to the accumulated result + fetch submenus |
|
| 235 | if (!$this->I['spacer']) { |
|
| 236 | $this->I['theItem'] .= $this->subMenu($this->I['uid'], $this->WMsubmenuObjSuffixes[$key]['sOSuffix']); |
|
| 237 | } |
|
| 238 | $part = isset($this->I['val']['wrapItemAndSub.']) ? $this->WMcObj->stdWrap($this->I['val']['wrapItemAndSub'], $this->I['val']['wrapItemAndSub.']) : $this->I['val']['wrapItemAndSub']; |
|
| 239 | $this->WMresult .= $part ? $this->WMcObj->wrap($this->I['theItem'], $part) : $this->I['theItem']; |
|
| 240 | } |
|
| 241 | ||
| 242 | /** |
|
| 243 | * Called before the "allWrap" happens on the menu item. |
|