class Image extends Component

Constants

MODE_ORIGINAL

MODE_FILL

MODE_EXACT

MODE_FIT

MODE_PORTRAIT

MODE_LANDSCAPE

MODE_AUTO

MODE_CROP

MODE_FIT_DIRECTION

DIRECTION_TOP

DIRECTION_TOP_LEFT

DIRECTION_TOP_RIGHT

DIRECTION_BOTTOM

DIRECTION_BOTTOM_LEFT

DIRECTION_BOTTOM_RIGHT

DIRECTION_LEFT

DIRECTION_RIGHT

DIRECTION_CENTER

Methods

__construct($area = null, $size = null, $width = null, $height = null, $mode = Image::MODE_EXACT, $color = '0,0,0', $direction = null, $src = null, $alt = null, $title = null, $class = null, $style = null, $preset = null)

No description

id()

No description

width()

No description

height()

No description

inline()

No description

size()

No description

mode()

No description

direction()

No description

color()

No description

path()

No description

src()

No description

alt()

No description

title()

No description

class()

No description

style()

No description

shouldRender()

No description

View|string
render()

Get the view / contents that represent the component.

Details

at line 36
__construct($area = null, $size = null, $width = null, $height = null, $mode = Image::MODE_EXACT, $color = '0,0,0', $direction = null, $src = null, $alt = null, $title = null, $class = null, $style = null, $preset = null)

Parameters

$area
$size
$width
$height
$mode
$color
$direction
$src
$alt
$title
$class
$style
$preset

at line 112
id()

at line 119
width()

at line 130
height()

at line 141
inline()

at line 146
size()

at line 177
mode()

at line 188
direction()

at line 194
color()

at line 200
path()

at line 231
src()

at line 250
alt()

at line 255
title()

at line 260
class()

at line 265
style()

at line 270
shouldRender()

at line 280
View|string render()

Get the view / contents that represent the component.

Return Value

View|string