PHP Class Arrilot\Widgets\Factories\WidgetFactory

Inheritance: extends AbstractWidgetFactory
Afficher le fichier Open project: arrilot/laravel-widgets Class Usage Examples

Méthodes publiques

Méthode Description
run ( ) : mixed Run widget without magic method.

Méthodes protégées

Méthode Description
getCacheTime ( ) : boolean | float | integer Get widget cache time or false if it's not meant to be cached.
getContent ( ) : mixed Make call and get return widget content.
getContentFromCache ( $args ) : mixed Gets content from cache if it's turned on.
getReloadTimeout ( ) : boolean | float | integer Get widget reload timeout or false if it's not reloadable.

Method Details

getCacheTime() protected méthode

Get widget cache time or false if it's not meant to be cached.
protected getCacheTime ( ) : boolean | float | integer
Résultat boolean | float | integer

getContent() protected méthode

Make call and get return widget content.
protected getContent ( ) : mixed
Résultat mixed

getContentFromCache() protected méthode

Runs widget class otherwise.
protected getContentFromCache ( $args ) : mixed
$args
Résultat mixed

getReloadTimeout() protected méthode

Get widget reload timeout or false if it's not reloadable.
protected getReloadTimeout ( ) : boolean | float | integer
Résultat boolean | float | integer

run() public méthode

Run widget without magic method.
public run ( ) : mixed
Résultat mixed