cb-requests-template.php
Table of Contents
Functions
- cb_requests_nav() : mixed
- CB Requests Nav
- cb_requests_format_nav_data() : array<string|int, mixed>
- CB Requests Format Nav Data
- cb_requests_get_nav() : string
- CB Requests Get Nav
- cb_requests_admin_nav() : mixed
- CB Requests Admin Nav
- cb_requests_admin_get_nav() : string
- CB Requests Admin Get Nav
- cb_requests_get_request_items_form() : string
- Gets markup for the request items form.
- cb_request_items_form() : mixed
- Outputs markup for request items form.
- cb_requests_get_requests_form() : string
- Gets markup for the request items form.
- cb_requests_form() : mixed
- Outputs markup for request items form.
Functions
cb_requests_nav()
CB Requests Nav
cb_requests_nav() : mixed
Outputs the requests nav.
Tags
cb_requests_format_nav_data()
CB Requests Format Nav Data
cb_requests_format_nav_data([mixed $component = '' ][, array<string|int, mixed> $items = array() ]) : array<string|int, mixed>
Formats the nav data for the requests component. We need a pretty complicated set of arguments for cb_templates_get_nav() and cb_templates_get_nav_items() and this helps us achieve that in a structured way.
Parameters
- $component : mixed = ''
- $items : array<string|int, mixed> = array()
-
A collection of key => value pairs
Tags
Return values
array<string|int, mixed> —The list of formatted nav data.
cb_requests_get_nav()
CB Requests Get Nav
cb_requests_get_nav() : string
Returns the nav for the requests filtering system.
Tags
Return values
string —The nav markup.
cb_requests_admin_nav()
CB Requests Admin Nav
cb_requests_admin_nav() : mixed
Outputs the requests admin nav.
Tags
cb_requests_admin_get_nav()
CB Requests Admin Get Nav
cb_requests_admin_get_nav() : string
Returns the nav for the requests admin filtering system.
Tags
Return values
string —The nav markup.
cb_requests_get_request_items_form()
Gets markup for the request items form.
cb_requests_get_request_items_form() : string
Tags
Return values
string —The formatted markup.
cb_request_items_form()
Outputs markup for request items form.
cb_request_items_form() : mixed
Tags
cb_requests_get_requests_form()
Gets markup for the request items form.
cb_requests_get_requests_form() : string
Tags
Return values
string —The formatted markup.
cb_requests_form()
Outputs markup for request items form.
cb_requests_form() : mixed