MenuItemAjaxHelper

Extends \FineUIPHP\UI\Menu\MenuItem\BaseMenuItemAjaxHelper

菜单项控件基类帮助类

package

FineUIPHP\UI\Menu\MenuItem

Methods

构造函数

__construct(\FineUIPHP\UI\Menu\MenuItem\BaseMenuItem $source) 
inherited

添加控件样式类

addCssStyle(string $cssClass) : $this
inherited

Arguments

$cssClass

string

Response

$this

设置HTML标签属性

attribute(string $key, string $value) : $this
inherited

Arguments

$key

string

$value

string

Response

$this

设置控件样式

cssStyle(string $style) : $this
inherited

Arguments

$style

string

Response

$this

设置控件的禁用状态

disabled(boolean $disabled) : $this
inherited

Arguments

$disabled

boolean

Response

$this

设置控件的启用状态

enabled(boolean $enabled) : $this
inherited

Arguments

$enabled

boolean

Response

$this

设置控件的隐藏状态

hidden(boolean $hidden) : $this
inherited

Arguments

$hidden

boolean

Response

$this

设置图标

icon( $icon) : $this

Arguments

$icon

Response

$this

设置图标

iconFont( $iconFont, null $iconFontClass = null) : $this

Arguments

$iconFont

$iconFontClass

null

Response

$this

设置图标

iconUrl( $iconUrl) : $this

Arguments

$iconUrl

Response

$this

删除控件样式类

removeCssStyle(string $cssClass) : $this
inherited

Arguments

$cssClass

string

Response

$this

Properties

控件对象

source : \FineUIPHP\Base\ControlBase\ControlBase
inherited