Documentation

CRM_Upgrade_Headless
in package

Perform an upgrade without using the web-frontend

Table of Contents

Properties

$preUpgradeMessage  : string
Pre Upgrade Message

Methods

getPreUpgradeMessage()  : array<string|int, mixed>
Get the pre-upgrade message.
run()  : array<string|int, mixed>
Perform an upgrade without using the web-frontend

Properties

$preUpgradeMessage

Pre Upgrade Message

private string $preUpgradeMessage

HTML-formatted message

Methods

getPreUpgradeMessage()

Get the pre-upgrade message.

public getPreUpgradeMessage() : array<string|int, mixed>
Tags
throws
Exception
Return values
array<string|int, mixed>

The upgrade message, in HTML and text formats. Ex: ['message' => '

Foo

Bar

', 'text' => ["Foo\n\nBar"]]

run()

Perform an upgrade without using the web-frontend

public run([bool $enablePrint = TRUE ]) : array<string|int, mixed>
Parameters
$enablePrint : bool = TRUE
Tags
throws
Exception
Return values
array<string|int, mixed>
  • with keys:
  • message: string, HTML-ish blob

        
On this page

Search results