Contentserv PHP API

CSModuleStatusEntry
in package

Tags

Table of Contents

createStatusEntry()  : CSModuleError
Creates an error instance
getDescription()  : string
Returns the error description.
getType()  : ModuleStatusType
Returns the status type for this entry.

Methods

createStatusEntry()

Creates an error instance

public static createStatusEntry([ModuleStatusType $eType = ModuleStatusType::OK ][, string $sDescription = '' ]) : CSModuleError
Parameters
$eType : ModuleStatusType = ModuleStatusType::OK
$sDescription : string = ''

The error description

Tags
access

public

Return values
CSModuleError

The created error instance

getDescription()

Returns the error description.

public getDescription() : string
Tags
access

public

Return values
string

The error description


        

Search results