Made clubs view in the backend working generally (no CUD)

This commit is contained in:
2019-05-20 13:02:04 +02:00
parent f8df0c3fc4
commit 4dc78c21af
3 changed files with 24 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ class ClubsClub extends AbstractClubsModel
protected $name;
protected $address;
protected $city;
protected $homapge;
protected $homepage;
protected $mail;
protected $iban;
protected $bic;
@@ -36,9 +36,9 @@ class ClubsClub extends AbstractClubsModel
/**
* @return string
*/
public function getHomapge()
public function getHomepage()
{
return $this->homapge;
return $this->homepage;
}
/**
@@ -110,7 +110,7 @@ class ClubsClub extends AbstractClubsModel
*/
public function setHomapge(string $homapge)
{
$this->homapge = $homapge;
$this->homepage = $homapge;
}
/**
@@ -209,10 +209,10 @@ class ClubsClub extends AbstractClubsModel
}
public function getOffers()
{
// public function getOffers()
// {
}
// }
protected function loadCustomData($assoc)
@@ -232,12 +232,12 @@ class ClubsClub extends AbstractClubsModel
protected function getDataMappings()
{
return array('neme', 'address', 'city', 'homepage', 'mail', 'iban', 'bic', 'charitable');
return array('name', 'address', 'city', 'homepage', 'mail', 'iban', 'bic', 'charitable');
}
protected function getRequiredDataMappings()
{
return array('neme', 'address', 'city', 'mail', 'iban', 'bic', 'charitable');
return array('name', 'address', 'city', 'mail', 'iban', 'bic', 'charitable');
}
private const tableName = '#__club_clubs';