ynh_extension_meeo/actions/ElevesAction.php

20 lines
394 B
PHP
Raw Normal View History

2024-07-17 09:31:56 +00:00
<?php
use YesWiki\Core\YesWikiAction;
use YesWiki\Bazar\Service\EntryManager;
2024-07-17 15:23:33 +00:00
use YesWiki\Bazar\Service\ListManager;
use YesWiki\Meeo\Service\EleveManager;
2024-07-17 09:31:56 +00:00
class ElevesAction extends YesWikiAction
{
public function formatArguments($arg)
{
return [];
}
public function run()
{
$eleveManager = $this->getService(EleveManager::class);
return $eleveManager->view();
2024-07-17 09:31:56 +00:00
}
}