Prado\Web\UI\WebControls\TWizardNavigationButtonStyle::apply PHP Method

apply() public method

Applies this style to the specified button
public apply ( $button )
    public function apply($button)
    {
        if ($button instanceof TImageButton) {
            if ($button->getImageUrl() === '') {
                $button->setImageUrl($this->getImageUrl());
            }
        }
        if ($button->getText() === '') {
            $button->setText($this->getButtonText());
        }
        $button->getStyle()->mergeWith($this);
    }