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 Value[]
getValuesFromVariables(mixed $rules = [])

No description

Details

render($value = false)

No description

Parameters

$value

getValueFromRequest(ParameterBag $request)

No description

Parameters

ParameterBag $request

getValueFromList(ValueList $list)

No description

Parameters

ValueList $list

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

No description

Parameters

$class
$suffix

setName($name)

No description

Parameters

$name

getName()

No description

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)

No description

Parameters

$variable

getVariable()

No description

string getFormElementPath()

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

Return Value

string

static Value[] getValuesFromVariables(mixed $rules = [])

No description

Parameters

mixed $rules

Return Value

Value[]