-
Notifications
You must be signed in to change notification settings - Fork 2
tp TouchPointWP Involvement_PostTypeSettings
James K. edited this page May 7, 2024
·
1 revision
Contains the settings for a single Involvement Post Type. This is instantiated as an array of these objects.
- Class name: Involvement_PostTypeSettings
- Namespace: \tp\TouchPointWP
const POST_TYPE_PREFIX = "inv_"
\tp\TouchPointWP\Involvement_PostTypeSettings[] tp\TouchPointWP\Involvement_PostTypeSettings::instance()
- Visibility: public
- This method is static.
- \tp\TouchPointWP\Involvement_PostTypeSettings[] -
mixed tp\TouchPointWP\Involvement_PostTypeSettings::__construct(object o)
- Visibility: public
- o object
- mixed
int[] tp\TouchPointWP\Involvement_PostTypeSettings::getAllDivs()
Get a list of all division IDs that are being imported by all types.
- Visibility: public
- This method is static.
- int[] -
string tp\TouchPointWP\Involvement_PostTypeSettings::postTypeWithPrefix()
Get the Post Type for use with WordPress functions
- Visibility: public
- string -
string tp\TouchPointWP\Involvement_PostTypeSettings::postTypeWithoutPrefix()
Get the Post Type without the hook prefix.
- Visibility: public
- string -
mixed tp\TouchPointWP\Involvement_PostTypeSettings::__get(mixed what)
- Visibility: public
- what mixed
- mixed
string[] tp\TouchPointWP\Involvement_PostTypeSettings::getPostTypes()
Gets an array of the postType strings.
- Visibility: public
- This method is static.
- string[] -
string[] tp\TouchPointWP\Involvement_PostTypeSettings::getPostTypesWithGeoEnabled()
Gets an array of the postType strings for post type that use Geo.
- Visibility: public
- This method is static.
- string[] -
\tp\TouchPointWP\Involvement_PostTypeSettings|null tp\TouchPointWP\Involvement_PostTypeSettings::getForInvType(string postType)
Gets the Involvement Post Type Settings object for a given inv type.
- Visibility: public
- This method is static.
- postType string
- \tp\TouchPointWP\Involvement_PostTypeSettings|null -
string tp\TouchPointWP\Involvement_PostTypeSettings::validateNewSettings(string new)
- Visibility: public
- This method is static.
- new string
- string -
int[] tp\TouchPointWP\Involvement_PostTypeSettings::leaderTypeInts()
Get the leader member types, as an array of ints
- Visibility: public
- int[] -
?int[] tp\TouchPointWP\Involvement_PostTypeSettings::hostTypeInts()
Get the host member types, as an array of ints. Will be null if useGeo is false.
- Visibility: public
- ?int[] -
Documentation generated June 26, 2024 3:56am.
- Simple RSVP
- People Lists
- Involvements
- Outreach Partners
- SQL Reports
- Events Calendar from Meetings (Beta)
- Events Calendar Plugin Integration (Deprecated)
- tp
- tp\TouchPointWP
- api
- Auth
- CalendarGrid
- EventsCalendar
- ExtraValueHandler
- Geo
- hasGeo
- Involvement
- Involvement_PostTypeSettings
- InvolvementMembership
- Location
- Meeting
- module
- Partner
- Person
- PostTypeCapable
- RegistrationType
- Report
- Rsvp
- Taxonomies
- TouchPointWP
- TouchPointWP_AdminAPI
- TouchPointWP_Exception
- TouchPointWP_Settings
- TouchPointWP_WPError
- updatesViaCron
- Utilities
- tp\TouchPointWP