class StyleSet (View source)

Methods

static Set
getByID($issID)

No description

static 
import(SimpleXMLElement $node)

No description

static 
populateFromRequest(Request $request)

If the request contains any fields that are valid to save as a style set, we return the style set object pre-save. If it's not (e.g. there's a background repeat but no actual background image, empty strings, etc...) then we return null.

Details

static Set getByID($issID)

No description

Parameters

$issID

Return Value

Set

static import(SimpleXMLElement $node)

No description

Parameters

SimpleXMLElement $node

static populateFromRequest(Request $request)

If the request contains any fields that are valid to save as a style set, we return the style set object pre-save. If it's not (e.g. there's a background repeat but no actual background image, empty strings, etc...) then we return null.

return \Concrete\Core\StyleCustomizer\Inline\StyleSet|null.

Parameters

Request $request