You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
709 B
39 lines
709 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CoreBundle\Tool;
|
|
|
|
use Chamilo\CourseBundle\Entity\CAttendance;
|
|
|
|
class Attendance extends AbstractTool implements ToolInterface
|
|
{
|
|
public function getTitle(): string
|
|
{
|
|
return 'attendance';
|
|
}
|
|
|
|
public function getLink(): string
|
|
{
|
|
return '/resources/attendance/:nodeId/';
|
|
}
|
|
|
|
public function getIcon(): string
|
|
{
|
|
return 'mdi-av-timer';
|
|
}
|
|
|
|
public function getCategory(): string
|
|
{
|
|
return 'authoring';
|
|
}
|
|
|
|
public function getResourceTypes(): ?array
|
|
{
|
|
return [
|
|
'attendances' => CAttendance::class,
|
|
];
|
|
}
|
|
}
|
|
|