class ImageStyle extends Style (View source)

Properties

protected $variable from Style
protected $name from Style

Methods

render($value = false)

No description

getValueFromRequest(ParameterBag $request)

No description

getValueFromList(ValueList $list)

No description

from Style
static 
getTypeFromClass($class, $suffix = 'Style')

No description

from Style
setName($name)

No description

from Style
getName()

No description

from Style
string
getDisplayName(string $format = 'html')

Returns the display name for this style (localized and escaped accordingly to $format)

from Style
setVariable($variable)

No description

from Style
getVariable()

No description

from Style
string
getFormElementPath()

Returns a path to an elements directory for this Style. Might not be used by all styles.

from Style
static 
getValuesFromVariables($rules = [])

No description

Details

render($value = false)

Parameters

$value

getValueFromRequest(ParameterBag $request)

Parameters

ParameterBag $request

getValueFromList(ValueList $list)

Parameters

ValueList $list

static protected getTypeFromClass($class, $suffix = 'Style')

Parameters

$class
$suffix

setName($name)

Parameters

$name

getName()

string getDisplayName(string $format = 'html')

Returns the display name for this style (localized and escaped accordingly to $format)

Parameters

string $format = 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped.

Return Value

string

setVariable($variable)

Parameters

$variable

getVariable()

string getFormElementPath()

Returns a path to an elements directory for this Style. Might not be used by all styles.

Return Value

string

static getValuesFromVariables($rules = [])

Parameters

$rules