PHP Class Jarves\Configuration\FieldType

Inheritance: extends Model
Mostrar archivo Open project: jarves/jarves

Protected Properties

Property Type Description
$attributes
$description string
$id string Needs to be unique across all bundles.
$javascript string The javascript class inside the javascript file should extend jarves.FieldAbstract.
$label string
$options Field[] Not yet implemented.
$requiredProperties
$rootName
$service string The Symfony service to chose for the rendering (Jarves\ContentRender)
$userInterfaceOnly boolean

Public Methods

Method Description
addOption ( Field $field = null )
getDescription ( ) : string
getId ( ) : string
getJavascript ( ) : string
getLabel ( ) : string
getOption ( string $id ) : Field
getOptions ( ) : Field[]
getService ( ) : string
getUserInterfaceOnly ( ) : boolean
isUserInterfaceOnly ( ) : boolean
setDescription ( string $description )
setId ( string $id )
setJavascript ( string $javascript )
setLabel ( string $label )
setOptions ( array $options = null )
setService ( string $service )
setUserInterfaceOnly ( boolean $userInterfaceOnly )

Method Details

addOption() public method

public addOption ( Field $field = null )
$field Field

getDescription() public method

public getDescription ( ) : string
return string

getId() public method

public getId ( ) : string
return string

getJavascript() public method

public getJavascript ( ) : string
return string

getLabel() public method

public getLabel ( ) : string
return string

getOption() public method

public getOption ( string $id ) : Field
$id string
return Field

getOptions() public method

public getOptions ( ) : Field[]
return Field[]

getService() public method

public getService ( ) : string
return string

getUserInterfaceOnly() public method

public getUserInterfaceOnly ( ) : boolean
return boolean

isUserInterfaceOnly() public method

public isUserInterfaceOnly ( ) : boolean
return boolean

setDescription() public method

public setDescription ( string $description )
$description string

setId() public method

public setId ( string $id )
$id string

setJavascript() public method

public setJavascript ( string $javascript )
$javascript string

setLabel() public method

public setLabel ( string $label )
$label string

setOptions() public method

public setOptions ( array $options = null )
$options array

setService() public method

public setService ( string $service )
$service string

setUserInterfaceOnly() public method

public setUserInterfaceOnly ( boolean $userInterfaceOnly )
$userInterfaceOnly boolean

Property Details

$attributes protected_oe property

protected $attributes

$description protected_oe property

protected string $description
return string

$id protected_oe property

Needs to be unique across all bundles.
protected string $id
return string

$javascript protected_oe property

The javascript class inside the javascript file should extend jarves.FieldAbstract.
protected string $javascript
return string

$label protected_oe property

protected string $label
return string

$options protected_oe property

Not yet implemented.
protected Field[],Jarves\Configuration $options
return Field[]

$requiredProperties protected_oe property

protected $requiredProperties

$rootName protected_oe property

protected $rootName

$service protected_oe property

The Symfony service to chose for the rendering (Jarves\ContentRender)
protected string $service
return string

$userInterfaceOnly protected_oe property

protected bool $userInterfaceOnly
return boolean