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