Admidio API
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Packages

  • com
    • tecnick
      • tcpdf
  • None
  • PHPMailer
    • easypeasyics
  • PHPWavUtils
  • Securimage
    • classes

Classes

  • AutoLogin
  • Component
  • ComponentUpdate
  • ConditionParser
  • Database
  • DateTimeExtended
  • Email
  • Folder
  • FormValidation
  • FunctionClass
  • Htaccess
  • HtmlDiv
  • HtmlElement
  • HtmlForm
  • HtmlFormBasic
  • HtmlFormInstallation
  • HtmlList
  • HtmlNavbar
  • HtmlPage
  • HtmlTable
  • HtmlTableBasic
  • Image
  • Inventory
  • InventoryFields
  • Language
  • LanguageData
  • ListConfiguration
  • Menu
  • Message
  • ModuleAnnouncements
  • ModuleDates
  • ModuleLists
  • ModuleMenu
  • ModuleMessages
  • Modules
  • ModuleWeblinks
  • MyFiles
  • Navigation
  • ntlm_sasl_client_class
  • Organization
  • Participants
  • PasswordHash
  • PasswordHashing
  • ProfileFields
  • RoleDependency
  • RolesRights
  • RSSfeed
  • Session
  • SystemMail
  • TableAccess
  • TableAnnouncement
  • TableCategory
  • TableDate
  • TableFile
  • TableFolder
  • TableGuestbook
  • TableGuestbookComment
  • TableInventory
  • TableInventoryField
  • TableLists
  • TableMembers
  • TableMessage
  • TablePhotos
  • TableRoles
  • TableRooms
  • TableText
  • TableUserField
  • TableUsers
  • TableWeblink
  • UploadHandlerDownload
  • UploadHandlerPhoto
  • User
  • UserRegistration

Exceptions

  • AdmException
  • WavFileException
  • WavFormatException

Functions

  • admFuncAutoload
  • admFuncGeneratePagination
  • admFuncGetBytesFromSize
  • admFuncGetDirectoryEntries
  • admFuncMaxUploadSize
  • admFuncProcessableImageSize
  • admFuncShowCreateChangeInfoById
  • admFuncShowCreateChangeInfoByName
  • admFuncVariableIsValid
  • admReadTemplateFile
  • admStrIsValidFileName
  • admStrStripTagsSpecial
  • admStrToLower
  • admStrToUpper
  • bzip2Version
  • checkDatabaseVersion
  • checkPhpVersion
  • EmailAttachment
  • FileSizeNiceDisplay
  • FormattedTimeRemaining
  • FunctionIsDisabled
  • getFormerRolesFromDatabase
  • getFutureRolesFromDatabase
  • getmicrotime
  • getRoleMemberships
  • getRolesFromDatabase
  • gzipVersion
  • hasRole
  • hl_attrval
  • hl_bal
  • hl_cmtcd
  • hl_ent
  • hl_prot
  • hl_regex
  • hl_spec
  • hl_tag
  • hl_tag2
  • hl_tidy
  • hl_version
  • htmLawed
  • HTMLFilter
  • isGroupLeader
  • isMember
  • kses
  • kses_hook
  • MySQLdumpVersion
  • OutputInformation
  • SafeExec
  • showNotice
  • strAddSlashesDeep
  • strNextLetter
  • strStripSlashesDeep
  • strStripTags
  • strValidCharacters
  • tln_body2div
  • tln_casenormalize
  • tln_deent
  • tln_defang
  • tln_findnxreg
  • tln_findnxstr
  • tln_fixatts
  • tln_fixstyle
  • tln_fixurl
  • tln_getnxtag
  • tln_sanitize
  • tln_skipspace
  • tln_tagprint
  • tln_unspace
  • version_compare_replacement
  • version_compare_replacement_sub

Class ModuleWeblinks

Modules
Extended by ModuleWeblinks
Copyright: 2004-2016 The Admidio Team
License: GNU General Public License v2.0 only **********************************************************************************************
Brief:

Class manages weblinks viewable for user

This class reads all available recordsets from table links. and returns an Array with results, recordsets and validated parameters from $_GET Array.


Class: ModuleWeblinks
Code:

Array( [numResults] => 4 [limit] => 0 [totalCount] => 4 [recordset] => Array ( [0] => Array ( [0] => 7 [cat_id] => 7 [1] => 1 [cat_org_id] => 1 [2] => LNK [cat_type] => LNK [3] => COMMON [cat_name_intern] => COMMON [4] => Allgemein [cat_name] => Allgemein [5] => 0 [cat_hidden] => 0 [6] => 0 [cat_system] => 0 [7] => 0 [cat_default] => 0 [8] => 1 [cat_sequence] => 1 [9] => 1 [cat_usr_id_create] => 1 [10] => 2012-01-08 11:12:05 [cat_timestamp_create] => 2012-01-08 11:12:05 [11] => [cat_usr_id_change] => [12] => [cat_timestamp_change] => [13] => 1 [lnk_id] => 1 [14] => 7 [lnk_cat_id] => 7 [15] => Beispielseite [lnk_name] => Beispielseite [16] => Auf dieser Seite gibt es nicht viele Neuigkeiten :( [lnk_description] => Auf dieser Seite gibt es nicht viele Neuigkeiten :( [17] => http://www.example.com [lnk_url] => http://www.example.com [18] => 6 [lnk_counter] => 6 [19] => 1 [lnk_usr_id_create] => 1 [20] => 2013-07-14 00:00:00 [lnk_timestamp_create] => 2013-07-14 00:00:00 [21] => 1 [lnk_usr_id_change] => 1 [22] => 2013-07-15 00:00:00 [lnk_timestamp_change] => 2013-07-15 00:00:00 ) [parameter] => Array ( [active_role] => 1 [calendar-selection] => 1 [cat_id] => 0 [category-selection] => 1 [date] => [daterange] => Array ( [english] => Array ( [start_date] => 2013-09-25 [end_date] => 9999-12-31 )

                                [system] => Array
                                                (
                                                    [start_date] => 25.09.2013
                                                    [end_date] => 31.12.9999
                                                )
                            )
        [headline] => Weblinks
        [id] => 0
        [mode] => Default
        [order] => ASC
        [startelement] => 0
        [view_mode] => Default
    )

)


Endcode
Par: Returned Array
Located at moduleweblinks.php

Methods summary

public
# __construct( )

creates an new ModuleWeblink object

creates an new ModuleWeblink object

Overrides

Modules::__construct
public array
# getDataSet( integer $startElement = 0, integer $limit = null )

Function returns a set of links with corresponding information

Function returns a set of links with corresponding information

Parameters

$startElement
Start element of result. First (and default) is 0.
$limit
Number of elements returned max. Default NULL will take number from preferences.

Returns

array
with links and corresponding information
public integer
# getDataSetCount( )

Function to get total number of links filtered by current conditions.

Function to get total number of links filtered by current conditions.

Returns

integer
Number of links.
public string
# getHeadline( string $headline )

Returns a module specific headline

Returns a module specific headline

Parameters

$headline
The initial headline of the module.

Returns

string
Returns the full headline of the module

Methods inherited from Modules

getDaterange(), getId(), getMode(), getOrder(), getParameter(), getParameters(), getStartElement(), setId(), setMode(), setOrder(), setParameter(), setStartElement()

Constants summary

Constants inherited from Modules

HEADLINE

Properties summary

protected $getConditions
#

Properties inherited from Modules

$activeRole, $arrParameter, $catId, $daterange, $headline, $id, $mode, $order, $parameters, $properties, $start, $validModes

Admidio API API documentation generated by ApiGen