PHP 클래스 Jarves\Configuration\Plugin

상속: extends Model
파일 보기 프로젝트 열기: jarves/jarves 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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[]

공개 메소드들

메소드 설명
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 )

메소드 상세

addOption() 공개 메소드

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

addRoute() 공개 메소드

public addRoute ( Route $route )
$route Route

getController() 공개 메소드

public getController ( ) : string
리턴 string

getId() 공개 메소드

public getId ( ) : string
리턴 string

getLabel() 공개 메소드

public getLabel ( ) : string
리턴 string

getOption() 공개 메소드

public getOption ( string $id ) : Field
$id string
리턴 Field

getOptions() 공개 메소드

public getOptions ( ) : Field[]
리턴 Field[]

getRoutes() 공개 메소드

public getRoutes ( ) : Route[]
리턴 Route[]

isPreview() 공개 메소드

public isPreview ( ) : boolean
리턴 boolean

setController() 공개 메소드

public setController ( string $controller )
$controller string

setId() 공개 메소드

public setId ( string $id )
$id string

setLabel() 공개 메소드

public setLabel ( string $label )
$label string

setOptions() 공개 메소드

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

setPreview() 공개 메소드

public setPreview ( boolean $preview )
$preview boolean

setRoutes() 공개 메소드

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

프로퍼티 상세

$attributes 보호되어 있는 프로퍼티

protected $attributes

$controller 보호되어 있는 프로퍼티

The controller php class name or service id.
protected string $controller
리턴 string

$id 보호되어 있는 프로퍼티

protected string $id
리턴 string

$label 보호되어 있는 프로퍼티

protected string $label
리턴 string

$options 보호되어 있는 프로퍼티

protected Field[],Jarves\Configuration $options
리턴 Field[]

$preview 보호되어 있는 프로퍼티

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
리턴 boolean

$routes 보호되어 있는 프로퍼티

protected Route[],Jarves\Configuration $routes
리턴 Route[]