Basic dialog created without useful content yet
This commit is contained in:
37
src/admin/views/clubposition/view.html.php
Normal file
37
src/admin/views/clubposition/view.html.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView;
|
||||
|
||||
// No direct access.
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JLoader::register("ClubsControllerPosition", JPATH_ROOT . "/administrator/components/com_clubs/controllers/position.php");
|
||||
|
||||
class ClubsViewClubPosition extends HtmlView
|
||||
{
|
||||
|
||||
function display($tpl = null)
|
||||
{
|
||||
|
||||
$positonFactory = new CommonClubsModelFactoryPosition();
|
||||
$userFactory = new CommonClubsModelFactoryUser();
|
||||
$this->positions = $positonFactory->loadElements();
|
||||
$this->users = $userFactory->loadElements();
|
||||
|
||||
$this->id = 'new';
|
||||
|
||||
parent::display($tpl);
|
||||
|
||||
jexit();
|
||||
}
|
||||
protected function getControllerName()
|
||||
{
|
||||
return 'position';
|
||||
}
|
||||
|
||||
protected function getFactory()
|
||||
{
|
||||
return new CommonClubsModelFactoryPosition();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user