Constants

VISIBILITY_PUBLIC

VISIBILITY_PUBLIC

VISIBILITY_PROTECTED

VISIBILITY_PROTECTED

VISIBILITY_PRIVATE

VISIBILITY_PRIVATE

VISIBILITY_INTERNAL

VISIBILITY_INTERNAL

VISIBILITY_DEFAULT

VISIBILITY_DEFAULT

Properties

$isModified

$isModified : boolean

Type

boolean — Represents whether this settings object has been modified

$visibility

$visibility : integer

Type

integer — a bitflag representing which visibilities are contained and allowed in this project

$includeSource

$includeSource : boolean

Type

boolean

Methods

setVisibility()

setVisibility(integer  $visibilityFlag) : void

Stores the visibilities that are allowed to be executed as a bitflag.

Parameters

integer $visibilityFlag

A bitflag combining the VISIBILITY_* constants.

getVisibility()

getVisibility() : integer

Returns the bit flag representing which visibilities are allowed.

Returns

integer

isModified()

isModified() : boolean

Returns whether one of the values of this object was modified.

Returns

boolean

clearModifiedFlag()

clearModifiedFlag() : void

Resets the flag indicating whether the settings have changed.

includeSource()

includeSource() 

excludeSource()

excludeSource() 

shouldIncludeSource()

shouldIncludeSource() 

setValueAndCheckIfModified()

setValueAndCheckIfModified(  $propertyName,   $value) 

Sets a property's value and if it differs from the previous then mark these settings as modified.

Parameters

$propertyName
$value