Class StyleSet

Namespace: Concrete\Core\StyleCustomizer\Inline
Entity
Table(name="stylecustomizerinlinestylesets")
Located at src/StyleCustomizer/Inline/StyleSet.php

Methods summary

public
# setCustomClass( mixed $customClass )
public mixed
# getCustomClass( )
public
# setBorderWidth( mixed $borderWidth )
public mixed
# getBorderWidth( )
public
# setAlignment( mixed $alignment )
public mixed
# getAlignment( )
public
# setBackgroundRepeat( mixed $backgroundRepeat )
public mixed
# getBackgroundRepeat( )
public
# setBackgroundSize( mixed $backgroundSize )
public mixed
# getBackgroundSize( )
public
# setBackgroundPosition( mixed $backgroundPosition )
public mixed
# getBackgroundPosition( )
public
# setBaseFontSize( mixed $baseFontSize )
public mixed
# getBaseFontSize( )
public
# setBorderColor( mixed $borderColor )
public mixed
# getBorderColor( )
public
# setBorderStyle( mixed $borderStyle )
public mixed
# getBorderStyle( )
public
# setBorderRadius( mixed $borderRadius )
public mixed
# getBorderRadius( )
public
# setBoxShadowBlur( mixed $boxShadowBlur )
public mixed
# getBoxShadowBlur( )
public
# setBoxShadowColor( mixed $boxShadowColor )
public mixed
# getBoxShadowColor( )
public
# setBoxShadowHorizontal( mixed $boxShadowHorizontal )
public mixed
# getBoxShadowHorizontal( )
public
# setBoxShadowSpread( mixed $boxShadowSpread )
public mixed
# getBoxShadowSpread( )
public
# setBoxShadowVertical( mixed $boxShadowVertical )
public mixed
# getBoxShadowVertical( )
public
# setLinkColor( mixed $linkColor )
public mixed
# getLinkColor( )
public
# setTextColor( mixed $textColor )
public mixed
# getTextColor( )
public
# setRotate( mixed $rotate )
public mixed
# getRotate( )
public
# getID( )
public
# setMarginBottom( mixed $marginBottom )
public mixed
# getMarginBottom( )
public
# setMarginLeft( mixed $marginLeft )
public mixed
# getMarginLeft( )
public
# setMarginRight( mixed $marginRight )
public mixed
# getMarginRight( )
public
# setMarginTop( mixed $marginTop )
public mixed
# getMarginTop( )
public
# setPaddingBottom( mixed $paddingBottom )
public mixed
# getPaddingBottom( )
public
# setPaddingLeft( mixed $paddingLeft )
public mixed
# getPaddingLeft( )
public
# setPaddingRight( mixed $paddingRight )
public mixed
# getPaddingRight( )
public
# setPaddingTop( mixed $paddingTop )
public mixed
# getPaddingTop( )
public
# setBackgroundColor( $backgroundColor )
public
# setBackgroundImageFileID( $backgroundImageFileID )
public
public
public
public mixed
# getHideOnExtraSmallDevice( )
public
# setHideOnExtraSmallDevice( mixed $hideOnExtraSmallDevice )
public mixed
# getHideOnSmallDevice( )
public
# setHideOnSmallDevice( mixed $hideOnSmallDevice )
public mixed
# getHideOnMediumDevice( )
public
# setHideOnMediumDevice( mixed $hideOnMediumDevice )
public mixed
# getHideOnLargeDevice( )
public
# setHideOnLargeDevice( mixed $hideOnLargeDevice )
public static Concrete\Core\StyleCustomizer\Set
# getByID( $issID )
public
# save( )
public static
# import( SimpleXMLElement $node )
public
# export( SimpleXMLElement $node )
public static
# populateFromRequest( Symfony\Component\HttpFoundation\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

public
# isHiddenOnDevice( $class )

Properties summary

protected $issID
#
protected $customClass
#
protected $backgroundColor
#
protected integer $backgroundImageFileID
# 0
protected string $backgroundRepeat
# 'no-repeat'
protected string $backgroundSize
# 'auto'
protected string $backgroundPosition
# '0% 0%'
protected $borderColor
#
protected $borderStyle
#
protected $borderWidth
#
protected $borderRadius
#
protected $baseFontSize
#
protected $alignment
#
protected $textColor
#
protected $linkColor
#
protected $marginTop
#
protected $marginBottom
#
protected $marginLeft
#
protected $marginRight
#
protected $paddingTop
#
protected $paddingBottom
#
protected $paddingLeft
#
protected $paddingRight
#
protected $rotate
#
protected $boxShadowHorizontal
#
protected $boxShadowVertical
#
protected $boxShadowBlur
#
protected $boxShadowSpread
#
protected $boxShadowColor
#
protected boolean $hideOnExtraSmallDevice
# false
protected boolean $hideOnSmallDevice
# false
protected boolean $hideOnMediumDevice
# false
protected boolean $hideOnLargeDevice
# false