| @@ 141-150 (lines=10) @@ | ||
| 138 | * |
|
| 139 | * @return string (HTML) |
|
| 140 | */ |
|
| 141 | function getMyDefaultSidebarContent() |
|
| 142 | { |
|
| 143 | if($this->owner->hasMethod('MyDefaultSidebarContentOverloaded')) { |
|
| 144 | $v = $this->owner->MyDefaultSidebarContentOverloaded(); |
|
| 145 | if($v !== null) { |
|
| 146 | return $v; |
|
| 147 | } |
|
| 148 | } |
|
| 149 | return $this->owner->DefaultSidebarContent; |
|
| 150 | } |
|
| 151 | ||
| 152 | /** |
|
| 153 | * |
|
| @@ 19-30 (lines=12) @@ | ||
| 16 | /** |
|
| 17 | * @return bool |
|
| 18 | */ |
|
| 19 | function HasFullWidthContent() |
|
| 20 | { |
|
| 21 | if($this->owner->hasMethod('HasFullWidthContentOverloaded')) { |
|
| 22 | $v = $this->owner->HasFullWidthContentOverloaded(); |
|
| 23 | if($v !== null) { |
|
| 24 | return $v; |
|
| 25 | } |
|
| 26 | } |
|
| 27 | if($this->owner->owner->getFullWidthContent()) { |
|
| 28 | return true; |
|
| 29 | } |
|
| 30 | } |
|
| 31 | ||
| 32 | /** |
|
| 33 | * @return bool |
|
| @@ 114-124 (lines=11) @@ | ||
| 111 | * Children Menu Items |
|
| 112 | * @return null | DataList |
|
| 113 | */ |
|
| 114 | function InThisSection() |
|
| 115 | { |
|
| 116 | if($this->owner->hasMethod('InThisSectionOverloaded')) { |
|
| 117 | $v = $this->owner->InThisSectionOverloaded(); |
|
| 118 | if($v !== null) { |
|
| 119 | return $v; |
|
| 120 | } |
|
| 121 | } |
|
| 122 | ||
| 123 | return $this->owner->ChildrenShowInMenu(); |
|
| 124 | } |
|
| 125 | ||
| 126 | /** |
|
| 127 | * Sibling Menu Items |
|