PHP Class RainLab\Pages\FormWidgets\MenuItems

Author: Alexey Bobkov, Samuel Georges
Inheritance: extends Backend\Classes\FormWidgetBase
Show file Open project: rainlab/pages-plugin

Public Properties

Property Type Description
$addSubitemLabel
$cmsPageRequiredMessage
$noRecordsMessage
$referenceRequiredMessage
$titleRequiredMessage
$urlRequiredMessage

Protected Properties

Property Type Description
$defaultAlias {@inheritDoc}
$typeInfoCache
$typeListCache

Public Methods

Method Description
getSaveValue ( $value ) {@inheritDoc}
init ( ) {@inheritDoc}
prepareVars ( ) Prepares the list data
render ( ) {@inheritDoc}

Protected Methods

Method Description
findReferenceName ( $search, $typeOptionList )
getMenuItemTitle ( $itemInfo )
getReferenceDescription ( RainLab\Pages\Classes\MenuItem $item ) : string Returns the item reference description.
loadAssets ( ) {@inheritDoc}

Method Details

findReferenceName() protected method

protected findReferenceName ( $search, $typeOptionList )

getMenuItemTitle() protected method

protected getMenuItemTitle ( $itemInfo )

getReferenceDescription() protected method

Returns the item reference description.
protected getReferenceDescription ( RainLab\Pages\Classes\MenuItem $item ) : string
$item RainLab\Pages\Classes\MenuItem Specifies the menu item
return string

getSaveValue() public method

{@inheritDoc}
public getSaveValue ( $value )

init() public method

{@inheritDoc}
public init ( )

loadAssets() protected method

{@inheritDoc}
protected loadAssets ( )

prepareVars() public method

Prepares the list data
public prepareVars ( )

render() public method

{@inheritDoc}
public render ( )

Property Details

$addSubitemLabel public property

public $addSubitemLabel

$cmsPageRequiredMessage public property

public $cmsPageRequiredMessage

$defaultAlias protected property

{@inheritDoc}
protected $defaultAlias

$noRecordsMessage public property

public $noRecordsMessage

$referenceRequiredMessage public property

public $referenceRequiredMessage

$titleRequiredMessage public property

public $titleRequiredMessage

$typeInfoCache protected property

protected $typeInfoCache

$typeListCache protected property

protected $typeListCache

$urlRequiredMessage public property

public $urlRequiredMessage