FormBuilderEntries::addEntryFlag() FormBuilderEntries::addEntryFlag(array $entry, $flag) FormBuilderEntries::addEntryFlag(array $entry, $flag) | array | Add flag to entry (in memory only) and return entry | |
FormBuilderEntries::database() FormBuilderEntries::database() FormBuilderEntries::database() | WireDatabasePDO | @return WireDatabasePDO | |
FormBuilderEntries::delete() FormBuilderEntries::delete(int $id) FormBuilderEntries::delete(int $id) | int bool | Delete a form entry | |
FormBuilderEntries::deleteAll() FormBuilderEntries::deleteAll() FormBuilderEntries::deleteAll() | bool | Delete all entries for this form | |
FormBuilderEntries::deleteOlderThan() FormBuilderEntries::deleteOlderThan(int $age) FormBuilderEntries::deleteOlderThan(int $age, string $ageType = 'DAYS', string $dateColumn = 'created', $flags = null) | int | Delete entries older than a given number of days | |
FormBuilderEntries::deleted() FormBuilderEntries::deleted(array $entryIDs) FormBuilderEntries::deleted(array $entryIDs) | (nothing) | Hook called after one or more entries are deleted | |
FormBuilderEntries::exportCSV() FormBuilderEntries::exportCSV(FormBuilderForm $form, string $selectorString) FormBuilderEntries::exportCSV(FormBuilderForm $form, string $selectorString, array $options = []) | (nothing) | Works like find() except that it exports a CSV file | |
FormBuilderEntries::find() FormBuilderEntries::find($selectorString) FormBuilderEntries::find($selectorString, array $options = []) | array | Get an array of form entries | |
FormBuilderEntries::findIdsOlderThan() FormBuilderEntries::findIdsOlderThan(int $age) FormBuilderEntries::findIdsOlderThan(int $age, string $ageType = 'DAYS', string $dateColumn = 'created', $flags = null) | array | Find entries older than a given number of days | |
FormBuilderEntries::get() FormBuilderEntries::get($key) FormBuilderEntries::get($key) | null array string int | Get entry by ID or selector string | |
FormBuilderEntries::getById() FormBuilderEntries::getById(int $id) FormBuilderEntries::getById(int $id, string $col = '') | bool array | Get a form entry by ID | |
FormBuilderEntries::getByName() FormBuilderEntries::getByName(string $name) FormBuilderEntries::getByName(string $name, string $col = '') | bool array | Get a form entry by name | |
FormBuilderEntries::getBySelector() FormBuilderEntries::getBySelector($selectorString) FormBuilderEntries::getBySelector($selectorString) | null array | Get a single form result array by selector string, or null if not found | |
FormBuilderEntries::getFilesPath() FormBuilderEntries::getFilesPath() FormBuilderEntries::getFilesPath(int $entryID = 0, bool $create = true, int $formID = 0) | string | Return the path that may be used by entries | |
FormBuilderEntries::getForm() FormBuilderEntries::getForm() FormBuilderEntries::getForm() | FormBuilderForm | @return FormBuilderForm | |
FormBuilderEntries::getFormID() FormBuilderEntries::getFormID() FormBuilderEntries::getFormID() | int | Get the current form ID | |
FormBuilderEntries::getFormIdFromEntryId() FormBuilderEntries::getFormIdFromEntryId(Wire $wire, int $entryID) FormBuilderEntries::getFormIdFromEntryId(Wire $wire, int $entryID) | int | Get a form ID from an entry ID | |
FormBuilderEntries::getLastEntryDate() FormBuilderEntries::getLastEntryDate() FormBuilderEntries::getLastEntryDate(bool $reverse = false) | string | Get date of last entry | |
FormBuilderEntries::getLastTotal() FormBuilderEntries::getLastTotal() FormBuilderEntries::getLastTotal() | (nothing) | Return the total known from the last find() query | |
FormBuilderEntries::getTotal() FormBuilderEntries::getTotal() FormBuilderEntries::getTotal() | int | Return total number of entries | |
FormBuilderEntries::hasFilesPath() FormBuilderEntries::hasFilesPath() FormBuilderEntries::hasFilesPath(int $entryID = 0, int $formID = 0) | bool | Does a files path exist for form/entry? | |
FormBuilderEntries::importCSV() FormBuilderEntries::importCSV(string $filename) FormBuilderEntries::importCSV(string $filename, array $options = []) | array | Import CSV file | |
FormBuilderEntries::isReservedProperty() FormBuilderEntries::isReservedProperty(string $property) FormBuilderEntries::isReservedProperty(string $property) | bool | Is the given property name reserved for system use in entries? | |
FormBuilderEntries::makeEntryStr() FormBuilderEntries::makeEntryStr() FormBuilderEntries::makeEntryStr() | string | Make an entry string (entryStr property) | |
FormBuilderEntries::mySqlVersion() FormBuilderEntries::mySqlVersion() FormBuilderEntries::mySqlVersion(string $testVersion = '', string $testOperator = '>=') | string bool | Get current MySQL version | |
FormBuilderEntries::removeEntryFlag() FormBuilderEntries::removeEntryFlag(array $entry, $flag) FormBuilderEntries::removeEntryFlag(array $entry, $flag) | array | Remove flag to entry (in memory only) and return entry | |
FormBuilderEntries::resend() FormBuilderEntries::resend($id) FormBuilderEntries::resend($id) | (nothing) | Re-send (email) for the given entry ID | |
FormBuilderEntries::save() FormBuilderEntries::save(array $entry) FormBuilderEntries::save(array $entry) | int bool | Save the given entry | |
FormBuilderEntries::saveField() FormBuilderEntries::saveField(int $id, string $name, mixed $value) FormBuilderEntries::saveField(int $id, string $name, mixed $value) | bool | Update a single form field value for an existing entry | |
FormBuilderEntries::validEntryName() FormBuilderEntries::validEntryName(string $name) FormBuilderEntries::validEntryName(string $name) | string | Given an entry name, validate it, returning blank string if not valid or given entry name if valid | |