PHP Class RainLab\Pages\FormWidgets\MenuItems

Author: Alexey Bobkov, Samuel Georges
Inheritance: extends Backend\Classes\FormWidgetBase
Exibir arquivo 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_oe property

public $addSubitemLabel

$cmsPageRequiredMessage public_oe property

public $cmsPageRequiredMessage

$defaultAlias protected_oe property

{@inheritDoc}
protected $defaultAlias

$noRecordsMessage public_oe property

public $noRecordsMessage

$referenceRequiredMessage public_oe property

public $referenceRequiredMessage

$titleRequiredMessage public_oe property

public $titleRequiredMessage

$typeInfoCache protected_oe property

protected $typeInfoCache

$typeListCache protected_oe property

protected $typeListCache

$urlRequiredMessage public_oe property

public $urlRequiredMessage