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