header docblock

This commit is contained in:
Christian Weiske 2010-02-20 09:06:01 +01:00
parent 65a24bf243
commit 41a57d2c81

View File

@ -1,6 +1,19 @@
<?php
/* Define functions used into the application */
/**
* Defines some commonly used functions.
*
* SemanticScuttle - your social bookmark manager.
*
* PHP version 5.
*
* @category Bookmarking
* @package SemanticScuttle
* @author Benjamin Huynh-Kim-Bang <mensonge@users.sourceforge.net>
* @author Christian Weiske <cweiske@cweiske.de>
* @author Eric Dane <ericdane@users.sourceforge.net>
* @license GPL http://www.gnu.org/licenses/gpl.html
* @link http://sourceforge.net/projects/semanticscuttle
*/
// Converts tags:
// - direction = out: convert spaces to underscores;
@ -48,7 +61,7 @@ function filter($data, $type = NULL) {
function getPerPageCount($userObject = null)
{
global $defaultPerPage, $defaultPerPageForAdmins;
if (isset($defaultPerPageForAdmins)
&& $userObject != null && $userObject->isAdmin()
) {