Метод | Описание | |
---|---|---|
__construct ( string $url, string $image, integer $width, integer $height, string $alt = '' ) | Sets the attributes for this object. | |
get_alt ( ) : string | Returns the alt-text. | |
get_height ( ) : string | Returns the height. | |
get_image ( ) : string | Returns the image. | |
get_url ( ) : string | Returns the set url. | |
get_width ( ) : string | Returns the width. |
public __construct ( string $url, string $image, integer $width, integer $height, string $alt = '' ) | ||
$url | string | The URL where the banner links to. |
$image | string | The image filename. |
$width | integer | The width of the image. |
$height | integer | The height of the image. |
$alt | string | The alt text for the image. |