TabStripAjaxHelper

Extends \FineUIPHP\Base\BoxComponent\Container\PanelBase\PanelBaseAjaxHelper

选项卡面板控件帮助类

package

FineUIPHP\UI\TabStrip

Methods

构造函数

__construct(\FineUIPHP\UI\TabStrip\TabStrip $source) 

激活选项卡

activeTab(string $tabID,  $moveToEnd = false) 

Arguments

$tabID

string

$moveToEnd

设置激活的选项卡

activeTabIndex( $activeTabIndex) : $this

Arguments

$activeTabIndex

Response

$this

添加控件样式类

addCssStyle(string $cssClass) : $this
inherited

Arguments

$cssClass

string

Response

$this

添加选项卡

addTab(string $tabID, string $iframeUrl, string $tabTitle, string $iconUrl, boolean $enableClose) 

Arguments

$tabID

string

$iframeUrl

string

$tabTitle

string

$iconUrl

string

$enableClose

boolean

设置HTML标签属性

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

Arguments

$key

string

$value

string

Response

$this

清空面板内表单字段的改变状态

clearDirty() 
inherited

设置控件样式

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

获取激活选项卡的脚本

getActiveTabReference(string $tabID, boolean $moveToEnd) : string

Arguments

$tabID

string

$moveToEnd

boolean

Response

string

获取添加选项卡的脚本

getAddTabReference(string $tabID, string $iframeUrl, string $tabTitle, string $iconUrl, boolean $enableClose) : string

Arguments

$tabID

string

$iframeUrl

string

$tabTitle

string

$iconUrl

string

$enableClose

boolean

Response

string

获取清空面板内表单字段改变状态的客户端脚本

getClearDirtyReference() : string
inherited

Response

string

客户端脚本

获取隐藏选项卡的脚本

getHideTabReference(string $tabID) : string

Arguments

$tabID

string

Response

string

获取刷新面板中IFrame页面的客户端脚本

getRefreshIFrameReference() : string
inherited

Response

string

客户端脚本

获取移除选项卡的脚本

getRemoveTabReference(string $tabID) : string

Arguments

$tabID

string

Response

string

获取重置面板中所有字段的客户端脚本

getResetReference() : string
inherited

Response

string

客户端脚本

获取显示选项卡的脚本

getShowTabReference(string $tabID, boolean $moveToEnd) : string

Arguments

$tabID

string

$moveToEnd

boolean

Response

string

设置控件的隐藏状态

hidden(boolean $hidden) : $this
inherited

Arguments

$hidden

boolean

Response

$this

隐藏选项卡

hideTab(string $tabID) 

Arguments

$tabID

string

刷新面板中的IFrame页面

refreshIFrame() 
inherited

删除控件样式类

removeCssStyle(string $cssClass) : $this
inherited

Arguments

$cssClass

string

Response

$this

移除选项卡

removeTab(string $tabID) 

Arguments

$tabID

string

重置面板中所有字段

reset() 
inherited

显示选项卡

showTab(string $tabID,  $moveToEnd = false) 

Arguments

$tabID

string

$moveToEnd

Properties

控件对象

source : \FineUIPHP\Base\ControlBase\ControlBase
inherited