forked from extern/egroupware
updated some inline comments for me to better test the inilinedocparser
This commit is contained in:
parent
115c4bb540
commit
25f80219c0
@ -65,6 +65,11 @@
|
|||||||
'ldap' => True, 'backup' => True
|
'ldap' => True, 'backup' => True
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/*!
|
||||||
|
@class_start accounts
|
||||||
|
@abstract Class for handling user and group accounts
|
||||||
|
*/
|
||||||
|
|
||||||
class accounts extends accounts_
|
class accounts extends accounts_
|
||||||
{
|
{
|
||||||
var $memberships = Array();
|
var $memberships = Array();
|
||||||
@ -175,10 +180,6 @@
|
|||||||
|
|
||||||
return $this->members;
|
return $this->members;
|
||||||
}
|
}
|
||||||
/*!
|
|
||||||
@class_start accounts
|
|
||||||
@abstract a test.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@function get_nextid
|
@function get_nextid
|
||||||
@ -235,6 +236,4 @@
|
|||||||
}
|
}
|
||||||
/*!
|
/*!
|
||||||
@class_end accounts
|
@class_end accounts
|
||||||
@abstract a test.
|
|
||||||
*/
|
*/
|
||||||
?>
|
|
||||||
|
@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
|
/*!
|
||||||
|
@class_start accounts
|
||||||
|
@abstract Class for handling user and group accounts
|
||||||
|
*/
|
||||||
class accounts_
|
class accounts_
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
@ -37,6 +41,10 @@
|
|||||||
$this->db = $GLOBALS['phpgw']->db;
|
$this->db = $GLOBALS['phpgw']->db;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*!
|
||||||
|
@function read_repository
|
||||||
|
@abstract grabs the records from the data store
|
||||||
|
*/
|
||||||
function read_repository()
|
function read_repository()
|
||||||
{
|
{
|
||||||
$this->db->query("SELECT * FROM phpgw_accounts WHERE account_id='" . $this->account_id . "'",__LINE__,__FILE__);
|
$this->db->query("SELECT * FROM phpgw_accounts WHERE account_id='" . $this->account_id . "'",__LINE__,__FILE__);
|
||||||
@ -57,6 +65,10 @@
|
|||||||
return $this->data;
|
return $this->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*!
|
||||||
|
@function save_repository
|
||||||
|
@abstract saves the records to the data store
|
||||||
|
*/
|
||||||
function save_repository()
|
function save_repository()
|
||||||
{
|
{
|
||||||
$this->db->query("UPDATE phpgw_accounts SET account_firstname='" . $this->data['firstname']
|
$this->db->query("UPDATE phpgw_accounts SET account_firstname='" . $this->data['firstname']
|
||||||
@ -356,5 +368,7 @@
|
|||||||
$lname = $account_name[$account_id]['lname'];
|
$lname = $account_name[$account_id]['lname'];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} //end of class
|
}
|
||||||
?>
|
/*!
|
||||||
|
@class_end accounts
|
||||||
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user