mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
Remove static keyword
This commit is contained in:
parent
980f40072b
commit
57ab94187e
1 changed files with 5 additions and 5 deletions
|
|
@ -46,7 +46,7 @@ class SessionHelper
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function isMember()
|
public function isMember()
|
||||||
{
|
{
|
||||||
return $this->member_srl > 0;
|
return $this->member_srl > 0;
|
||||||
}
|
}
|
||||||
|
|
@ -56,7 +56,7 @@ class SessionHelper
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function isAdmin()
|
public function isAdmin()
|
||||||
{
|
{
|
||||||
return $this->is_admin === 'Y';
|
return $this->is_admin === 'Y';
|
||||||
}
|
}
|
||||||
|
|
@ -67,7 +67,7 @@ class SessionHelper
|
||||||
* @param int $module_srl (optional)
|
* @param int $module_srl (optional)
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function isModuleAdmin($module_srl = null)
|
public function isModuleAdmin($module_srl = null)
|
||||||
{
|
{
|
||||||
return $this->is_admin === 'Y' || getModel('module')->isModuleAdmin($this, $module_srl);
|
return $this->is_admin === 'Y' || getModel('module')->isModuleAdmin($this, $module_srl);
|
||||||
}
|
}
|
||||||
|
|
@ -77,7 +77,7 @@ class SessionHelper
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function isValid()
|
public function isValid()
|
||||||
{
|
{
|
||||||
if ($this->denied === 'N' && (!$this->limit_date || substr($this->limit_date, 0, 8) < date('Ymd')))
|
if ($this->denied === 'N' && (!$this->limit_date || substr($this->limit_date, 0, 8) < date('Ymd')))
|
||||||
{
|
{
|
||||||
|
|
@ -94,7 +94,7 @@ class SessionHelper
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public static function getGroups()
|
public function getGroups()
|
||||||
{
|
{
|
||||||
return $this->group_list;
|
return $this->group_list;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue