PHP Класс Prado\Web\UI\WebControls\TWizardNavigationButtonStyle

TWizardNavigationButtonStyle defines the style applied to a wizard navigation button. The button type can be specified via {@link setButtonType ButtonType}, which can be 'Button', 'Image' or 'Link'. If the button is an image button, {@link setImageUrl ImageUrl} will be used to load the image for the button. Otherwise, {@link setButtonText ButtonText} will be displayed as the button caption.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: extends TStyle
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
apply ( $button ) Applies this style to the specified button
copyFrom ( $style ) Copies the fields in a new style to this style.
getButtonText ( ) : string
getButtonType ( ) : TWizardNavigationButtonType
getImageUrl ( ) : string
mergeWith ( $style ) Merges the style with a new one.
reset ( ) Sets the style attributes to default values.
setButtonText ( $value )
setButtonType ( $value )
setImageUrl ( $value )

Описание методов

apply() публичный Метод

Applies this style to the specified button
public apply ( $button )

copyFrom() публичный Метод

If a style field is set in the new style, the corresponding field in this style will be overwritten.
public copyFrom ( $style )

getButtonText() публичный Метод

public getButtonText ( ) : string
Результат string button caption

getButtonType() публичный Метод

public getButtonType ( ) : TWizardNavigationButtonType
Результат TWizardNavigationButtonType button type. Default to TWizardNavigationButtonType::Button.

getImageUrl() публичный Метод

public getImageUrl ( ) : string
Результат string image URL for the image button

mergeWith() публичный Метод

If a style field is not set in this style, it will be overwritten by the new one.
public mergeWith ( $style )

reset() публичный Метод

This method overrides the parent implementation by resetting additional TWizardNavigationButtonStyle specific attributes.
public reset ( )

setButtonText() публичный Метод

public setButtonText ( $value )

setButtonType() публичный Метод

public setButtonType ( $value )

setImageUrl() публичный Метод

public setImageUrl ( $value )