Class \Prado\Web\UI\ActiveControls\TActiveImage
TActiveImage class.
TActiveImage allows the \Prado\Web\UI\ActiveControls\setAlternateText, \Prado\Web\UI\ActiveControls\setImageUrl, and \Prado\Web\UI\ActiveControls\setDescriptionUrl to be updated during a callback request.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveImage implements IActiveControl
-
\Prado\Web\UI\WebControls\TImage implements IDataRenderer
-
\Prado\Web\UI\WebControls\TWebControl implements IStyleable
-
\Prado\Web\UI\TControl implements IRenderable, IBindable
-
\Prado\TApplicationComponent
-
\Prado\TComponent
Since: 3.1
public
|
__construct() : mixed
Creates a new callback control, sets the adapter to
TActiveControlAdapter. If you override this class, be sure to set the
adapter appropriately by, for example, by calling this constructor.
|
public
|
|
public
|
setAlternateText(string $value) : mixed
Sets the alternative text to be displayed in the TImage when the image is unavailable.
|
public
deprecated
|
|
public
deprecated
|
setImageAlign(string $value) : mixed
Sets the alignment of the image with respective to other elements on the page.
Possible values include: absbottom, absmiddle, baseline, bottom, left, middle, right, texttop, and top. If an empty string is passed in, imagealign attribute will not be rendered. |
public
|