LimeSurvey API - Master branch

AddNotificationCommand extends CConsoleCommand
in package

Table of Contents

Methods

actionIndex()  : void
Sample command: php application/commands/console.php addnotification --title='Message title' --body='Hello, this is message body' --importance=1

Methods

actionIndex()

Sample command: php application/commands/console.php addnotification --title='Message title' --body='Hello, this is message body' --importance=1

public actionIndex(string $title, string $body[, int $importance = 1 ]) : void
Parameters
$title : string

Title of notification

$body : string

Text body of notification (can contain HTML)

$importance : int = 1

Importance level as defined in application/models/Notification.php


        
On this page

Search results