Class humhub\modules\admin\widgets\IncompleteSetupWarning

Inheritancehumhub\modules\admin\widgets\IncompleteSetupWarning » humhub\components\Widget » yii\base\Widget

IncompleteSetupWarning shows a snippet in the dashboard if problems of the HumHub setup were found.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$render boolean If set to false this widget won't be rendered humhub\components\Widget
$widgetLayout string Defines an optional layout humhub\components\Widget

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getLayoutViewParams() Returns an array of view parameter used if \humhub\components\layout is set. humhub\components\Widget
process() Process is a wrapper for the run method humhub\components\Widget
run() {@inheritdoc} humhub\modules\admin\widgets\IncompleteSetupWarning
widget() Creates a widget instance and runs it. humhub\components\Widget

Events

Hide inherited events

EventTypeDescriptionDefined By
EVENT_CREATE humhub\libs\WidgetCreateEvent An event raised before creating a widget. humhub\components\Widget

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
PROBLEM_CRON_JOBS 'cron-jobs' humhub\modules\admin\widgets\IncompleteSetupWarning
PROBLEM_QUEUE_RUNNER 'queue-runner' humhub\modules\admin\widgets\IncompleteSetupWarning

Method Details

checkCron() protected method

protected boolean checkCron ( )
return boolean

Cron status

checkQueue() protected method

protected boolean checkQueue ( )
return boolean

Queue worker status

getProblems() protected method

Returns an array with found problem keys

protected array getProblems ( )
run() public method

{@inheritdoc}

public void run ( )