- do not use 'var' anymore

- added fold marks
This commit is contained in:
steinm 2013-01-24 08:25:38 +00:00
parent 27a34dff37
commit d289750877
2 changed files with 13 additions and 13 deletions

View File

@ -27,25 +27,25 @@ class LetoDMS_Core_KeywordCategory {
* @var integer $_id id of keyword category
* @access protected
*/
var $_id;
protected $_id;
/**
* @var integer $_ownerID id of user who is the owner
* @access protected
*/
var $_ownerID;
protected $_ownerID;
/**
* @var string $_name name of category
* @access protected
*/
var $_name;
protected $_name;
/**
* @var object $_dms reference to dms this category belongs to
* @access protected
*/
var $_dms;
protected $_dms;
function LetoDMS_Core_KeywordCategory($id, $ownerID, $name) {
$this->_id = $id;

View File

@ -26,46 +26,46 @@ class LetoDMS_Core_Notification { /* {{{ */
*
* @access protected
*/
var $_target;
protected $_target;
/**
* @var integer document or folder
*
* @access protected
*/
var $_targettype;
protected $_targettype;
/**
* @var integer id of user to notify
*
* @access protected
*/
var $_userid;
protected $_userid;
/**
* @var integer id of group to notify
*
* @access protected
*/
var $_groupid;
protected $_groupid;
/**
* @var object reference to the dms instance this user belongs to
*
* @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->_targettype = $targettype;
$this->_userid = $userid;
$this->_groupid = $groupid;
}
} /* }}} */
function setDMS($dms) {
function setDMS($dms) { /* {{{ */
$this->_dms = $dms;
}
} /* }}} */
function getTarget() { return $this->_target; }