mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Implement index action for member module
This commit is contained in:
parent
f97b67caf7
commit
3b265d5278
2 changed files with 22 additions and 6 deletions
|
|
@ -53,6 +53,21 @@ class MemberView extends Member
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Module index
|
||||
*/
|
||||
public function dispMemberIndex()
|
||||
{
|
||||
if ($this->user->isMember())
|
||||
{
|
||||
$this->setRedirectUrl(getUrl(['mid' => $this->mid, 'act' => 'dispMemberInfo']));
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setRedirectUrl(getUrl(['mid' => $this->mid, 'act' => 'dispMemberLoginForm']));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Display member information
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue