ynh_extension_meeo/actions/CreerAbsenceAction.php
2024-07-28 10:56:33 +02:00

19 lines
404 B
PHP

<?php
use YesWiki\Core\YesWikiAction;
use YesWiki\Meeo\Service\EleveManager;
class CreerAbsenceAction extends YesWikiAction
{
public function formatArguments($arg)
{
return [];
}
public function run()
{
$eleveManager = $this->getService(EleveManager::class);
return $this->render('@meeo/edu_creer_absence.twig', ['eleves' => $eleveManager->getAll()]);
}
}