diff options
Diffstat (limited to 'src/SemanticScuttle')
-rw-r--r-- | src/SemanticScuttle/functions.php | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/SemanticScuttle/functions.php b/src/SemanticScuttle/functions.php index 15db022..84e9c5f 100644 --- a/src/SemanticScuttle/functions.php +++ b/src/SemanticScuttle/functions.php @@ -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() ) { |