LTI Integration Library 5.1.4
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
SubmissionReview Class Reference

Class to represent a submission review. More...

Public Member Functions

 __construct (?string $label=null, ?string $endpoint=null, ?array $custom=null)
 Class constructor.
 
object toJsonObject ()
 Generate the JSON object representation of the submission review.
 

Static Public Member Functions

static SubmissionReview null fromJsonObject (object $json)
 Generate a SubmissionReview object from its JSON representation.
 

Detailed Description

Class to represent a submission review.

Author
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string $label = null,
?string $endpoint = null,
?array $custom = null )

Class constructor.

Parameters
string | null$labelLabel (optional)
string | null$endpointEndpoint (optional)
array | null$customCustom parameters (optional)

Member Function Documentation

◆ fromJsonObject()

static SubmissionReview null fromJsonObject ( object $json)
static

Generate a SubmissionReview object from its JSON representation.

Parameters
object$jsonA JSON object representing a submission review
Returns
SubmissionReview|null The SubmissionReview object

Referenced by LineItem\fromJsonObject().

◆ toJsonObject()

object toJsonObject ( )

Generate the JSON object representation of the submission review.

Returns
object