PHP Класс Arrilot\Widgets\Factories\WidgetFactory

Наследование: extends AbstractWidgetFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
run ( ) : mixed Run widget without magic method.

Защищенные методы

Метод Описание
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.

Описание методов

getCacheTime() защищенный метод

Get widget cache time or false if it's not meant to be cached.
protected getCacheTime ( ) : boolean | float | integer
Результат boolean | float | integer

getContent() защищенный метод

Make call and get return widget content.
protected getContent ( ) : mixed
Результат mixed

getContentFromCache() защищенный метод

Runs widget class otherwise.
protected getContentFromCache ( $args ) : mixed
$args
Результат mixed

getReloadTimeout() защищенный метод

Get widget reload timeout or false if it's not reloadable.
protected getReloadTimeout ( ) : boolean | float | integer
Результат boolean | float | integer

run() публичный метод

Run widget without magic method.
public run ( ) : mixed
Результат mixed