Back to top

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
documentation:rack:reference:sessions [2018/05/26 16:16] – created Martijn Luinstradocumentation:rack:reference:sessions [2019/04/05 18:17] – [Functions] Martijn Luinstra
Line 23: Line 23:
  
 <php>cover_session_in_committee($committee_login)</php>\\ <php>cover_session_in_committee($committee_login)</php>\\
-Returns <php>true</php> if the logged in user is a member of the committee. Returns <php>false</php> otherwise or if not user is logged in.+Returns <php>true</php> if the logged in user is a member of the committee. Returns <php>false</php> otherwise or if not user is logged in. An array of multiple committee logins can be provided to check if the user is a member of one of these committees.
  
 <php>cover_get_json($method, array $data = array(), $use_session = true)</php>\\ <php>cover_get_json($method, array $data = array(), $use_session = true)</php>\\
 Issues a ''GET'' request to a  <php>$method</php> of the Cover API. Issues a ''GET'' request to a  <php>$method</php> of the Cover API.

documentation/rack/reference/sessions.txt · Last modified: 2023/08/31 23:19 by Martijn Luinstra