mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
make all class variables of SeedDMS_Core_User protected
This commit is contained in:
parent
fe71cf92b3
commit
9334e1a6f2
|
@ -28,42 +28,42 @@ class SeedDMS_Core_User { /* {{{ */
|
|||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_id;
|
||||
protected $_id;
|
||||
|
||||
/**
|
||||
* @var string login name of user
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_login;
|
||||
protected $_login;
|
||||
|
||||
/**
|
||||
* @var string password of user as saved in database (md5)
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_pwd;
|
||||
protected $_pwd;
|
||||
|
||||
/**
|
||||
* @var string date when password expires
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_pwdExpiration;
|
||||
protected $_pwdExpiration;
|
||||
|
||||
/**
|
||||
* @var string full human readable name of user
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_fullName;
|
||||
protected $_fullName;
|
||||
|
||||
/**
|
||||
* @var string email address of user
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_email;
|
||||
protected $_email;
|
||||
|
||||
/**
|
||||
* @var string prefered language of user
|
||||
|
@ -71,21 +71,21 @@ class SeedDMS_Core_User { /* {{{ */
|
|||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_language;
|
||||
protected $_language;
|
||||
|
||||
/**
|
||||
* @var string preselected theme of user
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_theme;
|
||||
protected $_theme;
|
||||
|
||||
/**
|
||||
* @var string comment of user
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_comment;
|
||||
protected $_comment;
|
||||
|
||||
/**
|
||||
* @var string role of user. Can be one of SeedDMS_Core_User::role_user,
|
||||
|
@ -93,52 +93,56 @@ class SeedDMS_Core_User { /* {{{ */
|
|||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_role;
|
||||
protected $_role;
|
||||
|
||||
/**
|
||||
* @var boolean true if user shall be hidden
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_isHidden;
|
||||
protected $_isHidden;
|
||||
|
||||
/**
|
||||
* @var boolean true if user is disabled
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_isDisabled;
|
||||
protected $_isDisabled;
|
||||
|
||||
/**
|
||||
* @var int number of login failures
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_loginFailures;
|
||||
protected $_loginFailures;
|
||||
|
||||
/**
|
||||
* @var SeedDMS_Core_Folder home folder
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_homeFolder;
|
||||
protected $_homeFolder;
|
||||
|
||||
/**
|
||||
* @var SeedDMS_Core_DMS reference to the dms instance this user belongs to
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
var $_dms;
|
||||
protected $_dms;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
private $_quota;
|
||||
protected $_quota;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*
|
||||
* @access protected
|
||||
*/
|
||||
private $_hasImage;
|
||||
protected $_hasImage;
|
||||
|
||||
const role_user = '0';
|
||||
const role_admin = '1';
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
- in SeedDMS_Core_DocumentContent::removeWorkflow() remove records from tblWorklflowLog before tblDWorkflowDocumentContent
|
||||
- make all class variables of SeedDMS_Core_User protected
|
||||
</notes>
|
||||
<contents>
|
||||
<dir baseinstalldir="SeedDMS" name="/">
|
||||
|
|
Loading…
Reference in New Issue
Block a user