PHP Class WPDKHTMLTagImg

Remeber to add this tag in WPDKHTMLTagName
Since: 1.3.1
Author: =undo= ([email protected])
Inheritance: extends WPDKHTMLTag
Afficher le fichier Open project: wpxtreme/wpdk Class Usage Examples

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__construct ( string $src = '', string $alt = '', string $width = '', string $height = '' ) : WPDKHTMLTagImg Create an instance of WPDKHTMLTagImg class

Method Details

__construct() public méthode

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
Résultat WPDKHTMLTagImg

Property Details

$alt public_oe property

Specifies an alternate text for an image
public string $alt
Résultat string

$crossorigin public_oe property

Allow images from third-party sites that allow cross-origin access to be used with canvas: anonymous, use-credentials
public string $crossorigin
Résultat string

$height public_oe property

Specifies the height of an image
public string $height
Résultat string

$ismap public_oe property

Specifies an image as a server-side image-map: ismap
public string $ismap
Résultat string

$src public_oe property

Specifies the URL of an image
public string $src
Résultat string

$usemap public_oe property

Specifies an image as a client-side image-map. Values #mapnam
public string $usemap
Résultat string

$width public_oe property

Specifies the width of an image
public string $width
Résultat string