Differences
This shows you the differences between two versions of the page.
| Next revisionBoth sides next revision |
documentation:rack:reference:sessions [2018/05/26 16:16] – created Martijn Luinstra | documentation:rack:reference:sessions [2019/04/05 18:17] – [Functions] Martijn Luinstra |
---|
| |
<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. |