public copyFrom ( $style ) |
public function copyFrom($style)
{
parent::copyFrom($style);
if ($style instanceof TWizardNavigationButtonStyle) {
if ($this->_imageUrl === null && $style->_imageUrl !== null) {
$this->_imageUrl = $style->_imageUrl;
}
if ($this->_buttonText === null && $style->_buttonText !== null) {
$this->_buttonText = $style->_buttonText;
}
if ($this->_buttonType === null && $style->_buttonType !== null) {
$this->_buttonType = $style->_buttonType;
}
}
}