class StyleSet (View source)

Methods

static StyleSet|null
getByID(int $issID)

Get a StyleSet entity given its ID.

static StyleSet
import(SimpleXMLElement $node)

Import a StyleSet entity from an XML node.

static StyleSet|null
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 StyleSet|null getByID(int $issID)

Get a StyleSet entity given its ID.

Parameters

int $issID

Return Value

StyleSet|null

static StyleSet import(SimpleXMLElement $node)

Import a StyleSet entity from an XML node.

Parameters

SimpleXMLElement $node

Return Value

StyleSet

static StyleSet|null 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.

Parameters

Request $request

Return Value

StyleSet|null