ynh_extension_meeo/actions/CreerAbsenceAction.php

20 lines
404 B
PHP
Raw Normal View History

2024-07-28 08:56:33 +00:00
<?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()]);
}
}