PHP Class Jarves\Configuration\ContentType

Inheritance: extends Model
Mostra file Open project: jarves/jarves

Protected Properties

Property Type Description
$attributes
$description string
$id string Needs to be unique across all bundles.
$label string
$options Field[] Not yet implemented.
$requiredProperties
$rootName
$service string The Symfony service to chose for the rendering (Jarves\ContentRender)

Public Methods

Method Description
addOption ( Field $field = null )
getDescription ( ) : string
getId ( ) : string
getLabel ( ) : string
getOption ( string $id ) : Field
getOptions ( ) : Field[]
getService ( ) : string
setDescription ( string $description )
setId ( string $id )
setLabel ( string $label )
setOptions ( array $options = null )
setService ( string $service )

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

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

setDescription() public method

public setDescription ( string $description )
$description string

setId() public method

public setId ( string $id )
$id 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

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

$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