-
Notifications
You must be signed in to change notification settings - Fork 2
tp TouchPointWP CalendarGrid
James K. edited this page Oct 10, 2024
·
3 revisions
Creates a listing of events, typically arranged in a monthly grid, but transformable to a list.
- Class name: CalendarGrid
- Namespace: \tp\TouchPointWP
public mixed next = null
- Visibility: public
public mixed prev = null
- Visibility: public
public html
The HTML for the calendar grid.
- Visibility: public
public monthName
The name of the month being displayed.
- Visibility: public
public eventCount
The number of events included in the grid. Used for the "no events" logic.
- Visibility: public
void tp\TouchPointWP\CalendarGrid::__construct(\WP_Query q, int|null month, int|null year)
Create a calendar grid for a given month and year.
- Visibility: public
- q WP_Query* month int|null* year int|null
string tp\TouchPointWP\CalendarGrid::__toString()
Render the grid as HTML.
- Visibility: public
- string -
mixed tp\TouchPointWP\CalendarGrid::enqueueCalendarStyle()
This function enqueues the stylesheet for the calendar grid.
- Visibility: public
- This method is static.
- mixed
string tp\TouchPointWP\CalendarGrid::navBar(bool withMonthName, string class)
This method returns a navigation bar for the calendar grid with simply next/prev month links.
- Visibility: public
- withMonthName bool* class string
- string -
string tp\TouchPointWP\CalendarGrid::getNextLink()
Get HTML for a link to the next month.
- Visibility: public
- string -
string tp\TouchPointWP\CalendarGrid::getPrevLink()
Get HTML for a link to the previous month.
- Visibility: public
- string -
Documentation generated November 4, 2024 6:51pm.
- Simple RSVP
- People Lists
- Involvements
- Outreach Partners
- SQL & Python Reports
- Events Calendar from Meetings (Beta)
- Events Calendar Plugin Integration (Deprecated)
- tp
- tp\TouchPointWP
- api
- Auth
- CalendarGrid
- EventsCalendar
- ExtraValueHandler
- Geo
- hasGeo
- hierarchical
- Involvement
- Involvement_PostTypeSettings
- InvolvementMembership
- Location
- Meeting
- module
- Partner
- Person
- PostTypeCapable
- RegistrationType
- Report
- Rsvp
- scheduled
- storedAsPost
- Taxonomies
- TouchPointWP
- TouchPointWP_AdminAPI
- TouchPointWP_Exception
- TouchPointWP_Settings
- TouchPointWP_WPError
- updatesViaCron
- Utilities
- tp\TouchPointWP