Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
Events Class Reference
Inheritance diagram for Events:
Inheritance graph
Collaboration diagram for Events:
Collaboration graph

Public Member Functions

 before ($router, &$handler, &$parameters)
 getEvents ($user_id)
 getEventsICAL ($user_id)
 getEventsForCourse ($course_id)
- Public Member Functions inherited from RouteMap
 __construct ()
 init ($router, $route)
 paginated ($data, $total, $uri_params=array(), $query_params=array())
 paginate ($uri_format, $total, $offset=null, $limit=null)
 collect ($data)
 status ($status)
 headers ($headers=array())
 body ($body)
 contentType ($mime_type, $params=array())
 error ($status, $body=null)
 etag ($value, $strong_etag=true, $new_resource=null)
 expires ($amount, $cache_control=array())
 cacheControl ($values)
 halt ()
 lastModified ($time)
 notFound ($body=null)
 redirect ($url, $args=null)
 sendFile ($_path, $opts=array())
 url ($addr, $url_params=null)
 urlf ($addr_f, $format_params, $url_params=null)

Additional Inherited Members

- Protected Attributes inherited from RouteMap
 $pagination = false
 $offset
 $limit

Detailed Description

Author
André Klaßen andre.nosp@m..kla.nosp@m.ssen@.nosp@m.elan.nosp@m.-ev.d.nosp@m.e
mlunz.nosp@m.ena@.nosp@m.uos.d.nosp@m.e GPL 2 or later

course_id ^[a-f0-9]{32}$ user_id ^[a-f0-9]{32}$ semester_id ^[a-f0-9]{32}$

Member Function Documentation

before (   $router,
$handler,
$parameters 
)
getEvents (   $user_id)

returns all upcoming events within the next two weeks for a given user

/user/:user_id/events

Here is the call graph for this function:

getEventsForCourse (   $course_id)

returns events for a given course

/course/:course_id/events

Here is the call graph for this function:

getEventsICAL (   $user_id)

returns an iCAL Export of all events for a given user

/user/:user_id/events.ics

Here is the call graph for this function:


The documentation for this class was generated from the following file: