PHP Класс WPDKHTMLTagImg

Remeber to add this tag in WPDKHTMLTagName
С версии: 1.3.1
Автор: =undo= ([email protected])
Наследование: extends WPDKHTMLTag
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$alt string Specifies an alternate text for an image
$crossorigin string Allow images from third-party sites that allow cross-origin access to be used with canvas: anonymous, use-credentials
$height string Specifies the height of an image
$ismap string Specifies an image as a server-side image-map: ismap
$src string Specifies the URL of an image
$usemap string Specifies an image as a client-side image-map. Values #mapnam
$width string Specifies the width of an image

Открытые методы

Метод Описание
__construct ( string $src = '', string $alt = '', string $width = '', string $height = '' ) : WPDKHTMLTagImg Create an instance of WPDKHTMLTagImg class

Описание методов

__construct() публичный Метод

Create an instance of WPDKHTMLTagImg class
public __construct ( string $src = '', string $alt = '', string $width = '', string $height = '' ) : WPDKHTMLTagImg
$src string Optional. Specifies the URL of an image
$alt string Optional. Specifies an alternate text for an image
$width string Optional. Specifies the width of an image
$height string Optional. Specifies the height of an image
Результат WPDKHTMLTagImg

Описание свойств

$alt публичное свойство

Specifies an alternate text for an image
public string $alt
Результат string

$crossorigin публичное свойство

Allow images from third-party sites that allow cross-origin access to be used with canvas: anonymous, use-credentials
public string $crossorigin
Результат string

$height публичное свойство

Specifies the height of an image
public string $height
Результат string

$ismap публичное свойство

Specifies an image as a server-side image-map: ismap
public string $ismap
Результат string

$src публичное свойство

Specifies the URL of an image
public string $src
Результат string

$usemap публичное свойство

Specifies an image as a client-side image-map. Values #mapnam
public string $usemap
Результат string

$width публичное свойство

Specifies the width of an image
public string $width
Результат string