header docblock
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@674 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
ab75c7ff44
commit
74614e0f99
1 changed files with 16 additions and 3 deletions
|
@ -1,6 +1,19 @@
|
||||||
<?php
|
<?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:
|
// Converts tags:
|
||||||
// - direction = out: convert spaces to underscores;
|
// - direction = out: convert spaces to underscores;
|
||||||
|
@ -48,7 +61,7 @@ function filter($data, $type = NULL) {
|
||||||
function getPerPageCount($userObject = null)
|
function getPerPageCount($userObject = null)
|
||||||
{
|
{
|
||||||
global $defaultPerPage, $defaultPerPageForAdmins;
|
global $defaultPerPage, $defaultPerPageForAdmins;
|
||||||
|
|
||||||
if (isset($defaultPerPageForAdmins)
|
if (isset($defaultPerPageForAdmins)
|
||||||
&& $userObject != null && $userObject->isAdmin()
|
&& $userObject != null && $userObject->isAdmin()
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue