Version: current

# Class CMSMenuItem

A simple CMS menu item

  SS_Object
  CMSMenuItem

Package: cms\content
Located at cms/code/CMSMenuItem.php

## Methods summary

`public` | # `__construct( string $title, string $url, string $controller = null, integer $priority = -1 )` Create a new CMS Menu Item Create a new CMS Menu Item #### Parameters $title string $title $url string $url $controller string $controller Controller class name $priority integer $priority The sort priority of the item

### Magic methods summary

## Properties summary

`public string` | $title | # The (translated) menu title The (translated) menu title
`public string` | $url | # Relative URL Relative URL
`public string` | $controller | # Parent controller class name Parent controller class name
`public integer` | $priority | # Menu priority (sort order) Menu priority (sort order)

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -