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

mergeWith() public method

If a style field is not set in this style, it will be overwritten by the new one.
public mergeWith ( $style )
    public function mergeWith($style)
    {
        parent::mergeWith($style);
        if ($style instanceof TWizardNavigationButtonStyle) {
            if ($style->_imageUrl !== null) {
                $this->_imageUrl = $style->_imageUrl;
            }
            if ($style->_buttonText !== null) {
                $this->_buttonText = $style->_buttonText;
            }
            if ($style->_buttonType !== null) {
                $this->_buttonType = $style->_buttonType;
            }
        }
    }