* @return string
*/
public function getLink() {
+ if ($this->boxType == 'system') {
+ return $this->getController()->getLink();
+ }
+ else if ($this->boxType == 'menu') {
+ return '';
+ }
+
if ($this->linkPageObjectID) {
$handler = $this->getLinkPageHandler();
if ($handler && $handler instanceof ILookupPageHandler) {
* @return boolean
*/
public function hasLink() {
+ if ($this->boxType == 'system') {
+ return $this->getController()->hasLink();
+ }
+ else if ($this->boxType == 'menu') {
+ return false;
+ }
+
return ($this->linkPageID || !empty($this->externalURL));
}