Class humhub\commands\IntegrityController

Inheritancehumhub\commands\IntegrityController » yii\console\Controller

Performs data integrity checks.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$defaultAction humhub\commands\IntegrityController

Events

Hide inherited events

EventTypeDescriptionDefined By
EVENT_ON_RUN \humhub\commands\Event An event that is triggered when the integritychecker is started. humhub\commands\IntegrityController

Property Details

$defaultAction public property
public $defaultAction 'index'

Method Details

actionRun() public method

Starts integrity checker

public void actionRun ( )
showFix() public method

Shows a fix

If not in interactive mode, it returns true otherwise a confirm dialog will be shown.

public boolean showFix ( $message )
$message
showTestHeadline() public method

Shows a test headline

public void showTestHeadline ( $headline )
$headline string
showWarning() public method

Shows a warning

public void showWarning ( $message )
$message string

Event Details

EVENT_ON_RUN event of type \humhub\commands\Event

An event that is triggered when the integritychecker is started.