Skip to content

class Events

Oliver edited this page Apr 26, 2020 · 3 revisions

www/includes/events.inc.php


Events

In dieser Klasse befinden sich alle Funktionen für die Events

Package

zorg\Events

author

  • [z]milamber
  • IneX

version

  • 1.0

Overview

Public Properties

No public properties found

Constants

No constants found

Public Methods

getEvent() | getEventExcerpt() | getEventLink() | getEventName() | getEventNewest() | getEvents() | getNext() | getNumNewEvents() | getVisitors() | getYears() | hasJoined() |

Methods

getEvent()

public getEvent(mixed $event_id) : mixed static

getEventExcerpt()

Returns a specific amount of the Description of an Event

public getEventExcerpt( $text, $length = 50) : string static

Tags
  • author: IneX
  • date: 18.08.2012

getEventLink()

Returns the Link to an Event based on a given ID URL Format: /event/[year]/[month]/[day]/[event-id|eventname]

public getEventLink(int $event_id) : string|bool static

See also

Tags
  • author: IneX
  • date: 20.09.2018
  • version: 1.0
  • since: 1.0 function added

getEventName()

Returns the Title of an Event based on a given ID

public getEventName( $event_id) : string static

Tags
  • author: IneX
  • date: 18.08.2012

getEventNewest()

public getEventNewest() : mixed static

getEvents()

public getEvents(mixed $year) : mixed static

getNext()

Bevorstehende Events suchen Findet alle Events der nächsten 7 Tagen und gibt diese als PHP-Array zurück

public getNext() : array static

See also

Tags
  • version: 1.1
  • since: 1.0 Method added
  • since: 1.1 17.04.2020 IneX SQL Slow-Query optimization
  • global: object $user Globales Class-Object mit den User-Methoden & Variablen
  • global: object $db Globales Class-Object mit allen MySQL-Methoden

getNumNewEvents()

public getNumNewEvents() : mixed static

getVisitors()

public getVisitors(mixed $event_id) : mixed static

getYears()

public getYears() : mixed static

hasJoined()

public hasJoined(mixed $user_id, mixed $event_id) : mixed static


\ » Classes » Events

Clone this wiki locally