public function getEnabledLinks()
    {
        switch ($this->LinkMode) {
            
            case self::MODE_PAGES:
                
                $links = ArrayList::create();
                
                foreach ($this->LinkedPages() as $page) {
                    $link = $page->toLink();
                    $link->setParent($this);
                    $links->push($link);
                }
                
                break;
                
            default:
                
                $links = $this->getLinks()->filterByCallback(function ($link) {
                    return $link->isEnabled();
                });
                
        }
        
        return $links->sort($this->getSortOrder());
    }