Inserted data into frontend from models for some views
This commit is contained in:
@@ -125,6 +125,11 @@ class CommonClubsModelUser extends AbstractCommonClubsModel
|
||||
return $this->fetchAssociatedElements(new CommonClubsModelFactoryUserassoc(), 'userid');
|
||||
}
|
||||
|
||||
public function getPresidentClubs()
|
||||
{
|
||||
return $this->fetchAssociatedElements(new CommonClubsModelFactoryClub(), 'president');
|
||||
}
|
||||
|
||||
public function isPasswordSuitable($password)
|
||||
{
|
||||
if(strlen($password) < 8)
|
||||
|
||||
Reference in New Issue
Block a user