__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Packback\Lti1p3;
use Packback\Lti1p3\Concerns\JsonStringable;
class LtiLineitem
{
use JsonStringable;
private $id;
private $score_maximum;
private $label;
private $resource_id;
private $resource_link_id;
private $tag;
private $start_date_time;
private $end_date_time;
private ?bool $grades_released;
public function __construct(?array $lineitem = null)
{
$this->id = $lineitem['id'] ?? null;
$this->score_maximum = $lineitem['scoreMaximum'] ?? null;
$this->label = $lineitem['label'] ?? null;
$this->resource_id = $lineitem['resourceId'] ?? null;
$this->resource_link_id = $lineitem['resourceLinkId'] ?? null;
$this->tag = $lineitem['tag'] ?? null;
$this->start_date_time = $lineitem['startDateTime'] ?? null;
$this->end_date_time = $lineitem['endDateTime'] ?? null;
$this->grades_released = $lineitem['gradesReleased'] ?? null;
}
/**
* Static function to allow for method chaining without having to assign to a variable first.
*/
public static function new(?array $lineItem = null): self
{
return new LtiLineitem($lineItem);
}
public function getArray(): array
{
return [
'id' => $this->id,
'scoreMaximum' => $this->score_maximum,
'label' => $this->label,
'resourceId' => $this->resource_id,
'resourceLinkId' => $this->resource_link_id,
'tag' => $this->tag,
'startDateTime' => $this->start_date_time,
'endDateTime' => $this->end_date_time,
'gradesReleased' => $this->grades_released,
];
}
public function getId()
{
return $this->id;
}
public function setId($value): self
{
$this->id = $value;
return $this;
}
public function getLabel()
{
return $this->label;
}
public function setLabel($value): self
{
$this->label = $value;
return $this;
}
public function getScoreMaximum()
{
return $this->score_maximum;
}
public function setScoreMaximum($value): self
{
$this->score_maximum = $value;
return $this;
}
public function getResourceId()
{
return $this->resource_id;
}
public function setResourceId($value): self
{
$this->resource_id = $value;
return $this;
}
public function getResourceLinkId()
{
return $this->resource_link_id;
}
public function setResourceLinkId($value): self
{
$this->resource_link_id = $value;
return $this;
}
public function getTag()
{
return $this->tag;
}
public function setTag($value): self
{
$this->tag = $value;
return $this;
}
public function getStartDateTime()
{
return $this->start_date_time;
}
public function setStartDateTime($value): self
{
$this->start_date_time = $value;
return $this;
}
public function getEndDateTime()
{
return $this->end_date_time;
}
public function setEndDateTime($value): self
{
$this->end_date_time = $value;
return $this;
}
public function getGradesReleased(): ?bool
{
return $this->grades_released;
}
public function setGradesReleased(?bool $value): self
{
$this->grades_released = $value;
return $this;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Concerns | Folder | 0777 |
|
|
| DeepLinkResources | Folder | 0777 |
|
|
| Helpers | Folder | 0777 |
|
|
| Interfaces | Folder | 0777 |
|
|
| MessageValidators | Folder | 0777 |
|
|
| JwksEndpoint.php | File | 1.42 KB | 0777 |
|
| Lti1p1Key.php | File | 1.44 KB | 0777 |
|
| LtiAbstractService.php | File | 1.37 KB | 0777 |
|
| LtiAssignmentsGradesService.php | File | 6.73 KB | 0777 |
|
| LtiConstants.php | File | 7.77 KB | 0777 |
|
| LtiCourseGroupsService.php | File | 2 KB | 0777 |
|
| LtiDeepLink.php | File | 1.44 KB | 0777 |
|
| LtiDeployment.php | File | 556 B | 0777 |
|
| LtiException.php | File | 92 B | 0777 |
|
| LtiGrade.php | File | 4.01 KB | 0777 |
|
| LtiGradeSubmissionReview.php | File | 1.75 KB | 0777 |
|
| LtiLineitem.php | File | 3.46 KB | 0777 |
|
| LtiMessageLaunch.php | File | 17.85 KB | 0777 |
|
| LtiNamesRolesProvisioningService.php | File | 976 B | 0777 |
|
| LtiOidcLogin.php | File | 3.54 KB | 0777 |
|
| LtiRegistration.php | File | 2.88 KB | 0777 |
|
| LtiServiceConnector.php | File | 7.59 KB | 0777 |
|
| OidcException.php | File | 93 B | 0777 |
|
| ServiceRequest.php | File | 4.53 KB | 0777 |
|