Made clubs view in the backend working generally (no CUD)
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user