header docblock
This commit is contained in:
parent
65a24bf243
commit
41a57d2c81
@ -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 New Issue
Block a user