BaseMenuItemAjaxHelper

Extends \FineUIPHP\Base\ControlBase\Component\ComponentAjaxHelper

菜单项控件基类帮助类接口

package

FineUIPHP\UI\Menu\MenuItem

Methods

构造函数

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

添加控件样式类

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

删除控件样式类

removeCssStyle(string $cssClass) : $this
inherited

Arguments

$cssClass

string

Response

$this

Properties

控件对象

source : \FineUIPHP\Base\ControlBase\ControlBase
inherited