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 d22aba3b47bb9c6742127ae25904abce3f63e3c1 (commit)
from 5c03f0049d6e47a3d2eaeda1f48d453992abfbd5 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=d22aba3b47bb9c6742127ae25904abce3f63e3c1
commit d22aba3b47bb9c6742127ae25904abce3f63e3c1
Author: Marc-Etienne Vargenau <[email protected]>
Date: Wed May 3 15:20:49 2017 +0200
PHP Doc
diff --git
a/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
index 46e6b95..02c6c4c 100644
---
a/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
+++
b/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
@@ -45,7 +45,7 @@ class AdvancedSearchHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
/**
* flag to define whether the result must contain all words or only one
of them
*
- * @var boolean $isExact
+ * @var bool $isExact
*/
var $isExact;
@@ -59,7 +59,7 @@ class AdvancedSearchHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
*/
function __construct($words, $offset, $isExact, $groupId) {
@@ -93,6 +93,8 @@ class AdvancedSearchHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
/**
* writeBody - write the Body of the output
+ *
+ * @param bool $withpanel
*/
function writeBody($withpanel = true) {
global $HTML;
@@ -285,9 +287,10 @@ class AdvancedSearchHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
}
/**
- * handleTransferInformation - marks parentsections if child is marked
and processes cookie information
- *
- */
+ * handleTransferInformation - marks parentsections if child is marked
and processes cookie information
+ *
+ * @param array $sectionarray
+ */
function handleTransferInformation(&$sectionarray) {
//get through all sections
//if a childsection is marked to search in, mark the parent too
diff --git
a/src/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php
index 8bedcdc..4a6183d 100644
--- a/src/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/ArtifactHtmlSearchRenderer.class.php
@@ -38,7 +38,7 @@ class ArtifactHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
* @param int $artifactId artifact id
*/
diff --git
a/src/www/search/include/renderers/DocsAllHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/DocsAllHtmlSearchRenderer.class.php
index 009c7b3..eb9230c 100644
--- a/src/www/search/include/renderers/DocsAllHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/DocsAllHtmlSearchRenderer.class.php
@@ -33,7 +33,7 @@ class DocsAllHtmlSearchRenderer extends HtmlSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words
or if only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words
or if only one matching the query is sufficient
* @param array|string $sections array of all sections to
search in (array of strings)
*/
function __construct($words, $offset, $isExact, $sections =
SEARCH__ALL_SECTIONS) {
diff --git a/src/www/search/include/renderers/DocsHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/DocsHtmlSearchRenderer.class.php
index 736cc37..7914fee 100644
--- a/src/www/search/include/renderers/DocsHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/DocsHtmlSearchRenderer.class.php
@@ -33,9 +33,11 @@ class DocsHtmlSearchRenderer extends HtmlGroupSearchRenderer
{
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
* @param array|string $sections array of all sections to search in
(array of strings)
+ * @param int|string $rowsPerPage
+ * @param array $options
*/
function __construct($words, $offset, $isExact, $groupId, $sections =
SEARCH__ALL_SECTIONS, $rowsPerPage = SEARCH__DEFAULT_ROWS_PER_PAGE, $options =
array()) {
diff --git a/src/www/search/include/renderers/ForumHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/ForumHtmlSearchRenderer.class.php
index 91c2386..988ddc2 100644
--- a/src/www/search/include/renderers/ForumHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/ForumHtmlSearchRenderer.class.php
@@ -37,7 +37,7 @@ class ForumHtmlSearchRenderer extends HtmlGroupSearchRenderer
{
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
* @param int $forumId forum id
*/
diff --git
a/src/www/search/include/renderers/ForumsHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/ForumsHtmlSearchRenderer.class.php
index dde6789..1eb76da 100644
--- a/src/www/search/include/renderers/ForumsHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/ForumsHtmlSearchRenderer.class.php
@@ -29,7 +29,7 @@ class ForumsHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words
or if only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words
or if only one matching the query is sufficient
* @param int $groupId group id
* @param array|string $sections array of all sections to search in
(array of strings)
*/
diff --git a/src/www/search/include/renderers/FrsHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/FrsHtmlSearchRenderer.class.php
index ae66feb..632a24b 100644
--- a/src/www/search/include/renderers/FrsHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/FrsHtmlSearchRenderer.class.php
@@ -29,7 +29,7 @@ class FrsHtmlSearchRenderer extends HtmlGroupSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
* @param array|string $sections array of all sections to search in
(array of strings)
*/
diff --git
a/src/www/search/include/renderers/FullProjectHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/FullProjectHtmlSearchRenderer.class.php
index 9eb1e36..b6722b3 100644
--- a/src/www/search/include/renderers/FullProjectHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/FullProjectHtmlSearchRenderer.class.php
@@ -50,14 +50,14 @@ class FullProjectHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
/**
* flag to define whether the result must contain all words or only one
of them
*
- * @var boolean $isExact
+ * @var bool $isExact
*/
var $isExact;
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
*/
function __construct($words, $offset, $isExact, $groupId) {
@@ -79,6 +79,8 @@ class FullProjectHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
/**
* writeBody - write the Body of the output
+ *
+ * @param bool $withpanel
*/
function writeBody($withpanel = true) {
global $HTML;
diff --git a/src/www/search/include/renderers/HtmlGroupSearchRenderer.class.php
b/src/www/search/include/renderers/HtmlGroupSearchRenderer.class.php
index 4689549..83fe841 100644
--- a/src/www/search/include/renderers/HtmlGroupSearchRenderer.class.php
+++ b/src/www/search/include/renderers/HtmlGroupSearchRenderer.class.php
@@ -24,9 +24,6 @@
require_once $gfwww.'search/include/renderers/HtmlSearchRenderer.class.php';
-/**
- *
- */
class HtmlGroupSearchRenderer extends HtmlSearchRenderer {
/** TODO: Find what for is $offset, looks like it's not used, added to
remove warning
@@ -48,7 +45,7 @@ class HtmlGroupSearchRenderer extends HtmlSearchRenderer {
/**
* @param string $typeOfSearch type of the search (Software, Forum,
People and so on)
* @param string $words words we are searching for
- * @param boolean $isExact if we want to search for all the words
or if only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words
or if only one matching the query is sufficient
* @param object $searchQuery SearchQuery instance
* @param int $groupId group id
* @param string $topTab
diff --git a/src/www/search/include/renderers/HtmlSearchRenderer.class.php
b/src/www/search/include/renderers/HtmlSearchRenderer.class.php
index d352848..ec67ef1 100644
--- a/src/www/search/include/renderers/HtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/HtmlSearchRenderer.class.php
@@ -38,7 +38,7 @@ class HtmlSearchRenderer extends SearchRenderer {
/**
* @param string $typeOfSearch type of the search (Software, Forum,
People and so on)
* @param string $words words we are searching for
- * @param boolean $isExact if we want to search for all the words
or if only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words
or if only one matching the query is sufficient
* @param object $searchQuery SearchQuery instance
*/
function __construct($typeOfSearch, $words, $isExact, $searchQuery) {
@@ -74,6 +74,8 @@ class HtmlSearchRenderer extends SearchRenderer {
/**
* writeBody - write the body
+ *
+ * @param bool $withpanel
*/
function writeBody($withpanel = true) {
echo $this->writeResults($withpanel);
@@ -90,6 +92,8 @@ class HtmlSearchRenderer extends SearchRenderer {
/**
* getResults - get the html output which will display the search
results
*
+ * @param bool $withpanel
+ *
* @return string html output
*/
function writeResults($withpanel = true) {
@@ -186,7 +190,7 @@ class HtmlSearchRenderer extends SearchRenderer {
/**
* implementsRedirectToResult - check if the current object implements
the redirect to result feature by having a redirectToResult method
*
- * @return boolean true if our object implements search by id, false
otherwise.
+ * @return bool true if our object implements search by id, false
otherwise.
*/
function implementsRedirectToResult() {
return method_exists($this, 'redirectToResult');
diff --git a/src/www/search/include/renderers/NewsHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/NewsHtmlSearchRenderer.class.php
index 8b1be86..f88f50b 100644
--- a/src/www/search/include/renderers/NewsHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/NewsHtmlSearchRenderer.class.php
@@ -30,7 +30,7 @@ class NewsHtmlSearchRenderer extends HtmlGroupSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
*/
function __construct($words, $offset, $isExact, $groupId) {
diff --git
a/src/www/search/include/renderers/PeopleHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/PeopleHtmlSearchRenderer.class.php
index dc4d15d..f80e1c2 100644
--- a/src/www/search/include/renderers/PeopleHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/PeopleHtmlSearchRenderer.class.php
@@ -30,7 +30,7 @@ class PeopleHtmlSearchRenderer extends HtmlSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
*/
function __construct($words, $offset, $isExact) {
diff --git
a/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
index 53d7769..7440d38 100644
--- a/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
@@ -31,7 +31,7 @@ class ProjectHtmlSearchRenderer extends HtmlSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
*/
function __construct($words, $offset, $isExact) {
diff --git
a/src/www/search/include/renderers/ProjectRssSearchRenderer.class.php
b/src/www/search/include/renderers/ProjectRssSearchRenderer.class.php
index 0c579d6..69643d0 100644
--- a/src/www/search/include/renderers/ProjectRssSearchRenderer.class.php
+++ b/src/www/search/include/renderers/ProjectRssSearchRenderer.class.php
@@ -29,7 +29,7 @@ require_once
$gfcommon.'search/ExportProjectSearchQuery.class.php';
* callback function used during the RSS export
*
* @param array $dataRow array containing data for the current row
- * @return string additionnal information added in the RSS document
+ * @return string additional information added in the RSS document
*/
function rssProjectCallback($dataRow) {
$result = db_query_params ('SELECT trove_cat.fullpath FROM
trove_group_link, trove_cat
@@ -51,7 +51,7 @@ class ProjectRssSearchRenderer extends RssSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
*/
function __construct($words, $offset, $isExact) {
diff --git a/src/www/search/include/renderers/RssSearchRenderer.class.php
b/src/www/search/include/renderers/RssSearchRenderer.class.php
index ceab5f9..cd47638 100644
--- a/src/www/search/include/renderers/RssSearchRenderer.class.php
+++ b/src/www/search/include/renderers/RssSearchRenderer.class.php
@@ -36,7 +36,7 @@ class RssSearchRenderer extends SearchRenderer {
/**
* @param string $typeOfSearch type of the search (Software, Forum,
People and so on)
* @param string $words words we are searching for
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param object $searchQuery SearchQuery instance
*/
function __construct($typeOfSearch, $words, $isExact, $searchQuery) {
diff --git a/src/www/search/include/renderers/SearchRenderer.class.php
b/src/www/search/include/renderers/SearchRenderer.class.php
index 498e977..a7ef510 100644
--- a/src/www/search/include/renderers/SearchRenderer.class.php
+++ b/src/www/search/include/renderers/SearchRenderer.class.php
@@ -39,7 +39,7 @@ class SearchRenderer extends FFError {
/**
* @param string $typeOfSearch type of search
* @param string $words words we are searching for
- * @param boolean $isExact if we want to search for all the words
or if only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or
if only one matching the query is sufficient
* @param $searchQuery
*/
function __construct($typeOfSearch, $words, $isExact, $searchQuery) {
diff --git a/src/www/search/include/renderers/SkillHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/SkillHtmlSearchRenderer.class.php
index eb829da..e528a16 100644
--- a/src/www/search/include/renderers/SkillHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/SkillHtmlSearchRenderer.class.php
@@ -30,7 +30,7 @@ class SkillHtmlSearchRenderer extends HtmlSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
*/
function __construct($words, $offset, $isExact) {
diff --git a/src/www/search/include/renderers/TasksHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/TasksHtmlSearchRenderer.class.php
index 9a1c964..e2a6c71 100644
--- a/src/www/search/include/renderers/TasksHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/TasksHtmlSearchRenderer.class.php
@@ -29,7 +29,7 @@ class TasksHtmlSearchRenderer extends HtmlGroupSearchRenderer
{
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
* @param array|string $sections array of all sections to search in
(array of strings)
*/
diff --git
a/src/www/search/include/renderers/TrackersHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/TrackersHtmlSearchRenderer.class.php
index ed20acf..d054149 100644
--- a/src/www/search/include/renderers/TrackersHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/TrackersHtmlSearchRenderer.class.php
@@ -30,7 +30,7 @@ class TrackersHtmlSearchRenderer extends
HtmlGroupSearchRenderer {
/**
* @param string $words words we are searching for
* @param int $offset offset
- * @param boolean $isExact if we want to search for all the words or if
only one matching the query is sufficient
+ * @param bool $isExact if we want to search for all the words or if
only one matching the query is sufficient
* @param int $groupId group id
* @param array|string $sections array of all sections to search in
(array of strings)
*/
-----------------------------------------------------------------------
Summary of changes:
.../renderers/AdvancedSearchHtmlSearchRenderer.class.php | 13 ++++++++-----
.../include/renderers/ArtifactHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/DocsAllHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/DocsHtmlSearchRenderer.class.php | 4 +++-
.../include/renderers/ForumHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/ForumsHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/FrsHtmlSearchRenderer.class.php | 2 +-
.../renderers/FullProjectHtmlSearchRenderer.class.php | 6 ++++--
.../include/renderers/HtmlGroupSearchRenderer.class.php | 5 +----
.../search/include/renderers/HtmlSearchRenderer.class.php | 8 ++++++--
.../include/renderers/NewsHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/PeopleHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/ProjectHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/ProjectRssSearchRenderer.class.php | 4 ++--
.../search/include/renderers/RssSearchRenderer.class.php | 2 +-
src/www/search/include/renderers/SearchRenderer.class.php | 2 +-
.../include/renderers/SkillHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/TasksHtmlSearchRenderer.class.php | 2 +-
.../include/renderers/TrackersHtmlSearchRenderer.class.php | 2 +-
19 files changed, 37 insertions(+), 29 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits