Overview

Namespaces

  • Scene7
    • Commands
      • Layer
    • Definitions
    • Helpers
      • Html
        • Attributes
    • Requests

Classes

  • AbstractTag
  • Image
  • Picture
  • Source
  • Overview
  • Namespace
  • Class

Class Image

Scene7\Helpers\Html\AbstractTag implements Scene7\RenderInterface
Extended by Scene7\Helpers\Html\Image
Namespace: Scene7\Helpers\Html
Located at Helpers/Html/Image.php
Methods summary
public
# __construct( string $src, string $alt, array $attributes = [] )

Parameters

$src
$alt
$attributes
public Scene7\Helpers\Html\Image
# setSrc( string $src )

Parameters

$src

Returns

Scene7\Helpers\Html\Image
$this
public Scene7\Helpers\Html\Image
# setSrcset( string $srcset )

Parameters

$srcset

Returns

Scene7\Helpers\Html\Image
$this
public Scene7\Helpers\Html\Image
# setAlt( string $text )

Parameters

$text

Returns

Scene7\Helpers\Html\Image
$this
public string
# render( )

Returns

string
Methods inherited from Scene7\Helpers\Html\AbstractTag
__toString(), getAttributes(), hasAttribute(), renderAttributes(), setAttribute(), setAttributes(), setClass(), setId(), setStyle(), setTitle()
Properties inherited from Scene7\Helpers\Html\AbstractTag
$attributes
API documentation generated by ApiGen