PHP Class Jarves\Configuration\Plugin

Inheritance: extends Model
Afficher le fichier Open project: jarves/jarves Class Usage Examples

Protected Properties

Свойство Type Description
$attributes
$controller string The controller php class name or service id.
$id string
$label string
$options Field[]
$preview boolean If the controller for examples has requirements in queryString its not possible, but the plugin could use a additional preview method (listing() => listingPreview()) that does not have the requirement.
$routes Route[]

Méthodes publiques

Méthode Description
addOption ( Field $field = null )
addRoute ( Route $route )
getController ( ) : string
getId ( ) : string
getLabel ( ) : string
getOption ( string $id ) : Field
getOptions ( ) : Field[]
getRoutes ( ) : Route[]
isPreview ( ) : boolean
setController ( string $controller )
setId ( string $id )
setLabel ( string $label )
setOptions ( array $options = null )
setPreview ( boolean $preview )
setRoutes ( array $routes = null )

Method Details

addOption() public méthode

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

addRoute() public méthode

public addRoute ( Route $route )
$route Route

getController() public méthode

public getController ( ) : string
Résultat string

getId() public méthode

public getId ( ) : string
Résultat string

getLabel() public méthode

public getLabel ( ) : string
Résultat string

getOption() public méthode

public getOption ( string $id ) : Field
$id string
Résultat Field

getOptions() public méthode

public getOptions ( ) : Field[]
Résultat Field[]

getRoutes() public méthode

public getRoutes ( ) : Route[]
Résultat Route[]

isPreview() public méthode

public isPreview ( ) : boolean
Résultat boolean

setController() public méthode

public setController ( string $controller )
$controller string

setId() public méthode

public setId ( string $id )
$id string

setLabel() public méthode

public setLabel ( string $label )
$label string

setOptions() public méthode

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

setPreview() public méthode

public setPreview ( boolean $preview )
$preview boolean

setRoutes() public méthode

public setRoutes ( array $routes = null )
$routes array

Property Details

$attributes protected_oe property

protected $attributes

$controller protected_oe property

The controller php class name or service id.
protected string $controller
Résultat string

$id protected_oe property

protected string $id
Résultat string

$label protected_oe property

protected string $label
Résultat string

$options protected_oe property

protected Field[],Jarves\Configuration $options
Résultat Field[]

$preview protected_oe property

If the controller for examples has requirements in queryString its not possible, but the plugin could use a additional preview method (listing() => listingPreview()) that does not have the requirement.
protected bool $preview
Résultat boolean

$routes protected_oe property

protected Route[],Jarves\Configuration $routes
Résultat Route[]