Documentation

IPropertyBuilder

Used as input for all properties.

Make and use as many arguments as needed.

Table of Contents

getPrefix() string
setPrefix() void
getTag() string
setTag() void
getId() Retrieve the optionally set unique identifier for this property. int
getCaption() Get the property caption/label string
setCaption() Sets the property caption/label void
getType() Retrieve the property type IPropertyType
getFlags() Retrieve the set of flags for this property IPropertyFlags
setFlags() void
getName() Retrieve the property name string
setName() void
setDefaultValue() Sets the default property value PropertyBuilder
getDefaultValue() Retrieve the default value for some property mixed
addBehavior() Sets callbacks to modify the property behavior void
getBehavior() Retrieve callbacks for modifying property behavior \buffalokiwi\magicgraph\property\IPropertyBehavior[]
setConfig() Sets some config array if needed. PropertyBuilder
getConfig() Retrieve some arbitrary config array array

Methods

getId()

Retrieve the optionally set unique identifier for this property.

public getId( ) : int

This may be zero if unassigned.

Return values
int

optional id

getCaption()

Get the property caption/label

public getCaption( ) : string
Return values
string

caption

setCaption()

Sets the property caption/label

public setCaption( $caption : string ) : void
Parameters
$caption : string

caption

getName()

Retrieve the property name

public getName( ) : string
Return values
string

name

getDefaultValue()

Retrieve the default value for some property

public getDefaultValue( ) : mixed
Return values
mixed

Default value

getBehavior()

Retrieve callbacks for modifying property behavior

public getBehavior( ) : \buffalokiwi\magicgraph\property\IPropertyBehavior[]
Return values
\buffalokiwi\magicgraph\property\IPropertyBehavior[]

callbacks

getConfig()

Retrieve some arbitrary config array

public getConfig( ) : array
Return values
array

config

Search results