Settings

The Organization Settings model supports all Model operations plus the following:

Public Properties

All of the standard Model public properties are available plus the following:

PropertyTypeDescription
defaultStatestring, nullThe organization's default state

Public Methods

All of the standard Model public methods are available plus the following:

getFieldLayoutId()

Returns: [integer]

getFieldLayout()

Returns: Field Layout

hasStates()

Returns: boolean

getStates()

Returns: string[]

isSiteEnabled( int $siteId = null )

Returns: boolean

ArgumentAcceptsDescription
$siteId[integer], nullThe Site Id. If null the primary site Id is used.

getEnabledSiteIds()

Returns: integer[]