LimeSurvey API - Master branch

ComfortUpdateChecker extends PluginBase
in package

NB: Deleting this class will break plugin API, since plugins then would have to extend PluginBase in the namespace instead of this class. This is especially a problem for plugins that should work on both 2.73 and 3.x, so please don't delete this class.

Table of Contents

Properties

$allowedPublicMethods  : mixed
$description  : mixed
$name  : mixed
$settings  : mixed
$storage  : mixed

Methods

beforeAdminMenuRender()  : void
Append new menu item to the admin topbar
init()  : mixed
registerAssets()  : void
Register css and js file
getUpdate()  : stdClass|null
This function check if update is available from the comfort update server

Properties

$allowedPublicMethods

public mixed $allowedPublicMethods = array()
Tags
inheritdoc

this plugin didn't have any public method

$description

protected static mixed $description = 'Update Checker for Comfort Update users'

$settings

protected mixed $settings = ['only_security_update' => array('type' => 'checkbox', 'label' => 'Notification only for security updates', 'default' => \false), 'animate_icon' => array('type' => 'checkbox', 'label' => 'Animate update icon', 'default' => \false)]

Methods

beforeAdminMenuRender()

Append new menu item to the admin topbar

public beforeAdminMenuRender() : void

getUpdate()

This function check if update is available from the comfort update server

private getUpdate() : stdClass|null
Return values
stdClass|null

        
On this page

Search results