public setAlternateText ( $value ) |
public function setAlternateText($value)
{
$this->setViewState('AlternateText', $value, '');
}
/** * Sets the alternative text to be displayed in the TImage when the image is unavailable. * @param string the alternative text */ public function setAlternateText($value) { if (parent::getAlternateText() === $value) { return; } parent::setAlternateText($value); if ($this->getActiveControl()->canUpdateClientSide()) { $this->getPage()->getCallbackClient()->setAttribute($this, 'alt', $value); } }