mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
add getUser()
This commit is contained in:
parent
0fc1806ca4
commit
eee4e2f0eb
|
@ -170,6 +170,15 @@ class SeedDMS_Session {
|
|||
return $this->id;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Get user id of session
|
||||
*
|
||||
* @return integer user id
|
||||
*/
|
||||
function getUser() { /* {{{ */
|
||||
return $this->data['userid'];
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Set user of session
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user