mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
Remove trailing whitespace
This commit is contained in:
parent
3b0030e82b
commit
a9f72a5cd2
81 changed files with 2455 additions and 2455 deletions
|
|
@ -15,10 +15,10 @@ class SessionHelper
|
|||
public $is_admin = 'N';
|
||||
public $group_list = array();
|
||||
public $menu_list = array();
|
||||
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @param int $member_srl (optional)
|
||||
* @return void
|
||||
*/
|
||||
|
|
@ -40,30 +40,30 @@ class SessionHelper
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if this user is a member.
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isMember()
|
||||
{
|
||||
return $this->member_srl > 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if this user is an administrator.
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isAdmin()
|
||||
{
|
||||
return $this->is_admin === 'Y';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if this user is an administrator of a module.
|
||||
*
|
||||
*
|
||||
* @param int $module_srl (optional)
|
||||
* @return bool
|
||||
*/
|
||||
|
|
@ -71,10 +71,10 @@ class SessionHelper
|
|||
{
|
||||
return $this->is_admin === 'Y' || \ModuleModel::isModuleAdmin($this, $module_srl);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if this user is valid (not denied or limited).
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isValid()
|
||||
|
|
@ -88,10 +88,10 @@ class SessionHelper
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the list of groups that this user belongs to.
|
||||
*
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getGroups()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue