[Fusionforge-commits] FusionForge branch master updated. 792e2295d3add6a434f5916e35dc657b4853ec13

Franck VILLAUME nerville at fusionforge.org
Fri Dec 27 19:18:15 CET 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  792e2295d3add6a434f5916e35dc657b4853ec13 (commit)
      from  881e0d5479c747319424ec59d302cdc5d29c2b52 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 792e2295d3add6a434f5916e35dc657b4853ec13
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Dec 27 19:17:47 2013 +0100

    indent and php doc

diff --git a/src/common/docman/Document.class.php b/src/common/docman/Document.class.php
index cd96b63..cae7cbd 100644
--- a/src/common/docman/Document.class.php
+++ b/src/common/docman/Document.class.php
@@ -966,7 +966,7 @@ class Document extends Error {
 	/**
 	 * SendApprovalNotice - send email to project admin for pending documents.
 	 *
-	 * @return	boolean success.
+	 * @return	boolean	success.
 	 */
 	function SendApprovalNotice() {
 		if ($this->getStateID() != 3)
diff --git a/src/common/docman/DocumentGroup.class.php b/src/common/docman/DocumentGroup.class.php
index 2045263..f921fdb 100644
--- a/src/common/docman/DocumentGroup.class.php
+++ b/src/common/docman/DocumentGroup.class.php
@@ -248,7 +248,7 @@ class DocumentGroup extends Error {
 	/**
 	 * fetchData - re-fetch the data for this DocumentGroup from the database.
 	 *
-	 * @param	int		$id	ID of the doc_group.
+	 * @param	int	$id	ID of the doc_group.
 	 * @return	bool	success
 	 * @access	public
 	 */
@@ -268,7 +268,7 @@ class DocumentGroup extends Error {
 	/**
 	 * getGroup - get the Group Object this DocumentGroup is associated with.
 	 *
-	 * @return	Object Group.
+	 * @return	Object	Group.
 	 * @access	public
 	 */
 	function &getGroup() {
@@ -581,6 +581,12 @@ class DocumentGroup extends Error {
 		}
 	}
 
+	/**
+	 * getNumberOfDocuments - get the number of files in this doc_group, group_id and for a document state
+	 *
+	 * @param	int	the state id
+	 * @return	int	the number of found documents
+	 */
 	function getNumberOfDocuments($stateId = 1) {
 		if (isset($this->data_array['numberFiles'][$stateId]))
 			return $this->data_array['numberFiles'][$stateId];
diff --git a/src/common/docman/DocumentManager.class.php b/src/common/docman/DocumentManager.class.php
index 7961f8c..8866c7f 100644
--- a/src/common/docman/DocumentManager.class.php
+++ b/src/common/docman/DocumentManager.class.php
@@ -144,9 +144,9 @@ class DocumentManager extends Error {
 	/**
 	 *  getTree - display recursively the content of the doc_group. Only doc_groups within doc_groups.
 	 *
-	 * @param	int		$selecteddir	the selected directory
-	 * @param	string	$linkmenu		the type of link in the menu
-	 * @param	int		$docGroupId		the doc_group to start: default 0
+	 * @param	int	$selecteddir	the selected directory
+	 * @param	string	$linkmenu	the type of link in the menu
+	 * @param	int	$docGroupId	the doc_group to start: default 0
 	 */
 	function getTree($selecteddir, $linkmenu, $docGroupId = 0) {
 		global $g; // the master group of all the groups .... anyway.

-----------------------------------------------------------------------

Summary of changes:
 src/common/docman/Document.class.php        |    2 +-
 src/common/docman/DocumentGroup.class.php   |   10 ++++++++--
 src/common/docman/DocumentManager.class.php |    6 +++---
 3 files changed, 12 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list