Started work on backend with self-written models
This commit is contained in:
@@ -6,6 +6,8 @@ use Joomla\CMS\Factory;
|
||||
// No direct access.
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JLoader::discover('Clubs', JPATH_ROOT . '/administrator/components/com_clubs/mymodels');
|
||||
|
||||
$controller = BaseController::getInstance("Clubs");
|
||||
$input = Factory::getApplication()->input;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ defined('_JEXEC') or die;
|
||||
class ClubsViewClub extends HtmlView
|
||||
{
|
||||
|
||||
public function display(string $tpl = null)
|
||||
public function display($tpl = null)
|
||||
{
|
||||
// FIXME Insert code from DB
|
||||
$this->clubid = 43;
|
||||
|
||||
Reference in New Issue
Block a user