diff --git a/phpgwapi/inc/class.accounts_shared.inc.php b/phpgwapi/inc/class.accounts_shared.inc.php index 9b73217b4a..ab4f013d93 100644 --- a/phpgwapi/inc/class.accounts_shared.inc.php +++ b/phpgwapi/inc/class.accounts_shared.inc.php @@ -65,6 +65,11 @@ 'ldap' => True, 'backup' => True ); + /*! + @class_start accounts + @abstract Class for handling user and group accounts + */ + class accounts extends accounts_ { var $memberships = Array(); @@ -175,10 +180,6 @@ return $this->members; } - /*! - @class_start accounts - @abstract a test. - */ /*! @function get_nextid @@ -235,6 +236,4 @@ } /*! @class_end accounts - @abstract a test. */ -?> diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index ab675aa7b1..68634c61f6 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -24,6 +24,10 @@ /* $Id$ */ + /*! + @class_start accounts + @abstract Class for handling user and group accounts + */ class accounts_ { var $db; @@ -37,6 +41,10 @@ $this->db = $GLOBALS['phpgw']->db; } + /*! + @function read_repository + @abstract grabs the records from the data store + */ function read_repository() { $this->db->query("SELECT * FROM phpgw_accounts WHERE account_id='" . $this->account_id . "'",__LINE__,__FILE__); @@ -57,6 +65,10 @@ return $this->data; } + /*! + @function save_repository + @abstract saves the records to the data store + */ function save_repository() { $this->db->query("UPDATE phpgw_accounts SET account_firstname='" . $this->data['firstname'] @@ -356,5 +368,7 @@ $lname = $account_name[$account_id]['lname']; return; } - } //end of class -?> + } + /*! + @class_end accounts + */