mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-16 14:41:39 +00:00
- do not use 'var' anymore
- added fold marks
This commit is contained in:
parent
27a34dff37
commit
d289750877
|
@ -27,25 +27,25 @@ class LetoDMS_Core_KeywordCategory {
|
||||||
* @var integer $_id id of keyword category
|
* @var integer $_id id of keyword category
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_id;
|
protected $_id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var integer $_ownerID id of user who is the owner
|
* @var integer $_ownerID id of user who is the owner
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_ownerID;
|
protected $_ownerID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string $_name name of category
|
* @var string $_name name of category
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_name;
|
protected $_name;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var object $_dms reference to dms this category belongs to
|
* @var object $_dms reference to dms this category belongs to
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_dms;
|
protected $_dms;
|
||||||
|
|
||||||
function LetoDMS_Core_KeywordCategory($id, $ownerID, $name) {
|
function LetoDMS_Core_KeywordCategory($id, $ownerID, $name) {
|
||||||
$this->_id = $id;
|
$this->_id = $id;
|
||||||
|
|
|
@ -26,46 +26,46 @@ class LetoDMS_Core_Notification { /* {{{ */
|
||||||
*
|
*
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_target;
|
protected $_target;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var integer document or folder
|
* @var integer document or folder
|
||||||
*
|
*
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_targettype;
|
protected $_targettype;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var integer id of user to notify
|
* @var integer id of user to notify
|
||||||
*
|
*
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_userid;
|
protected $_userid;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var integer id of group to notify
|
* @var integer id of group to notify
|
||||||
*
|
*
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_groupid;
|
protected $_groupid;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var object reference to the dms instance this user belongs to
|
* @var object reference to the dms instance this user belongs to
|
||||||
*
|
*
|
||||||
* @access protected
|
* @access protected
|
||||||
*/
|
*/
|
||||||
var $_dms;
|
protected $_dms;
|
||||||
|
|
||||||
function LetoDMS_Core_Notification($target, $targettype, $userid, $groupid) {
|
function LetoDMS_Core_Notification($target, $targettype, $userid, $groupid) { /* {{{ */
|
||||||
$this->_target = $target;
|
$this->_target = $target;
|
||||||
$this->_targettype = $targettype;
|
$this->_targettype = $targettype;
|
||||||
$this->_userid = $userid;
|
$this->_userid = $userid;
|
||||||
$this->_groupid = $groupid;
|
$this->_groupid = $groupid;
|
||||||
}
|
} /* }}} */
|
||||||
|
|
||||||
function setDMS($dms) {
|
function setDMS($dms) { /* {{{ */
|
||||||
$this->_dms = $dms;
|
$this->_dms = $dms;
|
||||||
}
|
} /* }}} */
|
||||||
|
|
||||||
function getTarget() { return $this->_target; }
|
function getTarget() { return $this->_target; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user