CoolCMS API

ExpressResolution
in package

FinalYes

Answer of a module to "service for object ID": either the candidate targets (one per payment region whose quick price is switched on) or the reason why nothing can be activated.

Table of Contents

Constants

ERROR_OBJECT_INACTIVE  : string = 'objectInactive'
ERROR_OBJECT_NOT_FOUND  : string = 'objectNotFound'
ERROR_UNKNOWN_SERVICE  : string = 'unknownService'

Properties

$error  : string|null
$targets  : array<string|int, mixed>

Methods

failed()  : self
found()  : self
isFound()  : bool
__construct()  : mixed

Constants

ERROR_OBJECT_INACTIVE

public string ERROR_OBJECT_INACTIVE = 'objectInactive'

ERROR_OBJECT_NOT_FOUND

public string ERROR_OBJECT_NOT_FOUND = 'objectNotFound'

ERROR_UNKNOWN_SERVICE

public string ERROR_UNKNOWN_SERVICE = 'unknownService'

Properties

Methods

failed()

public static failed(string $error) : self
Parameters
$error : string
Return values
self
On this page

Search results