PHP Class Widget

Author: Chema ([email protected])
Mostra file Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method 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 method

Get property value
public __call ( string $name, array $arguments ) : mixed
$name string
$arguments array
return mixed

getAnnotation() public method

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

getCache() public method

Get cache object
public getCache ( ) : CampCache
return CampCache

getSetting() public method

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

getUser() final public method

Get user
final public getUser ( ) : User
return User

getView() final public method

Get view
final public getView ( ) : string
return string

isFullscreen() final public method

Is view fullscreen?
final public isFullscreen ( ) : boolean
return boolean

setManager() public method

Set widget manager
public setManager ( WidgetManagerDecorator $manager ) : IWidget
$manager WidgetManagerDecorator
return IWidget

setSettings() public method

Set widget settings
public setSettings ( array $settings = [] ) : IWidget
$settings array
return IWidget

setView() final public method

Set view
final public setView ( string $view = self::DEFAULT_VIEW ) : IWidget
$view string
return IWidget