public function Anchor(){
        if ($this->MenuTitle && $this->ShowInMenus) {
            return strtolower(trim(preg_replace('/[^a-zA-Z0-9]+/', '-',$this->MenuTitle), '-'));
        }
        return false;
    }
public function Anchor(){
        if ($this->MenuTitle && $this->ShowInMenus) {
            return strtolower(trim(preg_replace('/[^a-zA-Z0-9]+/', '-',$this->MenuTitle), '-'));
        }
        return false;
    }
public function Anchor ( ) { if ( $ this -> MenuTitle && $ this -> ShowInMenus ) { return strtolower ( trim ( preg_replace ( '/[^a-zA-Z0-9]+/' , '-' , $ this -> MenuTitle ) , '-' ) ) ; } return false ; }
Applies anchor to section in template.

@return string $classes
Applies anchor to section in template .