PHP Class Widget

Author: Chema ([email protected])
Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Méthodes publiques

Méthode Description
__call ( string $name, array $arguments ) : mixed Get property value
getAnnotation ( string $name ) Get annotation
getCache ( ) : CampCache Get cache object
getSetting ( string $name ) Get setting
getUser ( ) : User Get user
getView ( ) : string Get view
isFullscreen ( ) : boolean Is view fullscreen?
setManager ( WidgetManagerDecorator $manager ) : IWidget Set widget manager
setSettings ( array $settings = [] ) : IWidget Set widget settings
setView ( string $view = self::DEFAULT_VIEW ) : IWidget Set view

Method Details

__call() public méthode

Get property value
public __call ( string $name, array $arguments ) : mixed
$name string
$arguments array
Résultat mixed

getAnnotation() public méthode

Get annotation
public getAnnotation ( string $name )
$name string return string

getCache() public méthode

Get cache object
public getCache ( ) : CampCache
Résultat CampCache

getSetting() public méthode

Get setting
public getSetting ( string $name )
$name string return mixed

getUser() final public méthode

Get user
final public getUser ( ) : User
Résultat User

getView() final public méthode

Get view
final public getView ( ) : string
Résultat string

isFullscreen() final public méthode

Is view fullscreen?
final public isFullscreen ( ) : boolean
Résultat boolean

setManager() public méthode

Set widget manager
public setManager ( WidgetManagerDecorator $manager ) : IWidget
$manager WidgetManagerDecorator
Résultat IWidget

setSettings() public méthode

Set widget settings
public setSettings ( array $settings = [] ) : IWidget
$settings array
Résultat IWidget

setView() final public méthode

Set view
final public setView ( string $view = self::DEFAULT_VIEW ) : IWidget
$view string
Résultat IWidget