-
Notifications
You must be signed in to change notification settings - Fork 2
tp TouchPointWP Utilities StringableArray
James K. edited this page Jun 26, 2024
·
5 revisions
A collection of things that can be cast to a string by gluing them together with a simple implode().
- Class name: StringableArray
- Namespace: \tp\TouchPointWP\Utilities
- Parent class: ArrayObject
mixed tp\TouchPointWP\Utilities\StringableArray::__construct(string separator, object|array array, int flags, string iteratorClass)
StringableArray constructor.
- Visibility: public
- separator string* array object|array* flags int* iteratorClass string
- mixed
int tp\TouchPointWP\Utilities\StringableArray::count()
Length of array.
- Visibility: public
- int -
mixed tp\TouchPointWP\Utilities\StringableArray::prepend(mixed value)
Append to the end of the array.
- Visibility: public
- value mixed
- mixed
bool tp\TouchPointWP\Utilities\StringableArray::contains(mixed needle)
Determine if the stringable array (haystack) contains the given needle
- Visibility: public
- needle mixed
- bool -
string tp\TouchPointWP\Utilities\StringableArray::__toString()
Standard method to stringify.
- Visibility: public
- string -
string tp\TouchPointWP\Utilities\StringableArray::join(string|null separator)
Link the items together with a given separator, which may be different from the separator used in the constructor.
- Visibility: public
- separator string|null
- string -
string tp\TouchPointWP\Utilities\StringableArray::toListString()
Convert the array to a list string with ampersands and such.
- Visibility: public
- string -
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