Settings

Contains the Settings for the current Project.

package

Default

Methods

Resets the flag indicating whether the settings have changed.

clearModifiedFlag() : void

excludeSource

excludeSource() 

Returns the bit flag representing which visibilities are allowed.

getVisibility() : integer
see self::isVisibilityAllowed()

for a convenience method to easily check against a specific visibility.

Response

integer

includeSource

includeSource() 

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

isModified() : boolean

Response

boolean

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

setValueAndCheckIfModified( $propertyName,  $value) 

Arguments

$propertyName

$value

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

setVisibility(integer $visibilityFlag) : void

Arguments

$visibilityFlag

integer

A bitflag combining the VISIBILITY_* constants.

shouldIncludeSource

shouldIncludeSource() 

Constants

VISIBILITY_PUBLIC

VISIBILITY_PUBLIC

VISIBILITY_PROTECTED

VISIBILITY_PROTECTED

VISIBILITY_PRIVATE

VISIBILITY_PRIVATE

VISIBILITY_INTERNAL

VISIBILITY_INTERNAL

VISIBILITY_DEFAULT

VISIBILITY_DEFAULT
var

by default ignore internal visibility but show others

Properties

Represents whether this settings object has been modified

isModified : boolean
var

Represents whether this settings object has been modified

Type(s)

boolean

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

visibility : integer
var

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

Type(s)

integer

includeSource

includeSource : boolean
var

Type(s)

boolean