FieldtypeRepeater::cloneField() FieldtypeRepeater::cloneField(Field $field) FieldtypeRepeater::cloneField(Field $field) | Field | Create a cloned copy of Field | |
FieldtypeRepeater::countOldReadyPages() FieldtypeRepeater::countOldReadyPages(Field $field) FieldtypeRepeater::countOldReadyPages(Field $field, bool $delete = false, int $secondsOld = 259200) | int | Count or delete old ready pages that are just taking up space | |
FieldtypeRepeater::deleteField() FieldtypeRepeater::deleteField(Field $field) FieldtypeRepeater::deleteField(Field $field) | bool | Delete the given field, which implies: drop the table $field->table | |
FieldtypeRepeater::deletePageField() FieldtypeRepeater::deletePageField(Page $page, Field $field) FieldtypeRepeater::deletePageField(Page $page, Field $field) | bool | Delete the given Field from the given Page | |
FieldtypeRepeater::deleteRepeaterPage() FieldtypeRepeater::deleteRepeaterPage(Page $page) FieldtypeRepeater::deleteRepeaterPage(Page $page, Field $field = null, bool $recursive = false) | int | Delete a repeater page, removing system statuses first | |
FieldtypeRepeater::exportValue() FieldtypeRepeater::exportValue(Page $page, Field $field, RepeaterPageArray $value) FieldtypeRepeater::exportValue(Page $page, Field $field, RepeaterPageArray $value, array $options = []) | array | Export repeater value | |
FieldtypeRepeater::findUnnecessaryParents() FieldtypeRepeater::findUnnecessaryParents(Field $field) FieldtypeRepeater::findUnnecessaryParents(Field $field, array $options = []) | PageArray | Find unnecessary parent pages that may be deleted | |
FieldtypeRepeater::formatValue() FieldtypeRepeater::formatValue(Page $page, Field $field, PageArray $value) FieldtypeRepeater::formatValue(Page $page, Field $field, PageArray $value) | PageArray | Perform output formatting on the value delivered to the API | |
FieldtypeRepeater::getBlankRepeaterPage() FieldtypeRepeater::getBlankRepeaterPage(Page $page, Field $field) FieldtypeRepeater::getBlankRepeaterPage(Page $page, Field $field) | Page | Returns a blank page ready for use as a repeater | |
FieldtypeRepeater::getBlankValue() FieldtypeRepeater::getBlankValue(Page $page, Field $field) FieldtypeRepeater::getBlankValue(Page $page, Field $field) | PageArray RepeaterPageArray | Get a blank value of this type, i.e. return a blank PageArray | |
FieldtypeRepeater::getCompatibleFieldtypes() FieldtypeRepeater::getCompatibleFieldtypes(Field $field) FieldtypeRepeater::getCompatibleFieldtypes(Field $field) | WireArray | FieldtypeRepeater instances are only compatible with other FieldtypeRepeater derived classes. | |
FieldtypeRepeater::getConfigAdvancedInputfields() FieldtypeRepeater::getConfigAdvancedInputfields(Field $field) FieldtypeRepeater::getConfigAdvancedInputfields(Field $field) | InputfieldWrapper | Remove advanced options that aren't supposed with repeaters | |
FieldtypeRepeater::getConfigInputfields() FieldtypeRepeater::getConfigInputfields(Field $field) FieldtypeRepeater::getConfigInputfields(Field $field) | InputfieldWrapper | Return configuration fields definable for each FieldtypePage | |
FieldtypeRepeater::getCustomPageClass() FieldtypeRepeater::getCustomPageClass(Field $field) FieldtypeRepeater::getCustomPageClass(Field $field) | string | Get custom RepeaterPage class for given repeater field | |
FieldtypeRepeater::getDatabaseSchema() FieldtypeRepeater::getDatabaseSchema(Field $field) FieldtypeRepeater::getDatabaseSchema(Field $field) | array | Return the database schema in predefined format | |
FieldtypeRepeater::getFieldClass() FieldtypeRepeater::getFieldClass() FieldtypeRepeater::getFieldClass(array $a = []) | string | Get class name to use Field objects of this type (must be class that extends Field class) | |
FieldtypeRepeater::getInputfield() FieldtypeRepeater::getInputfield(Page $page, Field $field) FieldtypeRepeater::getInputfield(Page $page, Field $field) | Inputfield | Return an InputfieldRepeater, ready to be used | |
FieldtypeRepeater::getMatchQuery() FieldtypeRepeater::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, string $value) FieldtypeRepeater::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, string $value) | PageFinderDatabaseQuerySelect | Update a DatabaseQuerySelect object to match a Page | |
FieldtypeRepeater::getNextReadyPage() FieldtypeRepeater::getNextReadyPage(Page $page, Field $field) FieldtypeRepeater::getNextReadyPage(Page $page, Field $field, $value = null, array $notIDs = []) | Page | Get next page ready to be used as a new repeater item, creating it if it doesn't already exist | |
FieldtypeRepeater::getPageArrayClass() FieldtypeRepeater::getPageArrayClass() FieldtypeRepeater::getPageArrayClass() | string | Get the class used for repeater PageArray objects | |
FieldtypeRepeater::getPageClass() FieldtypeRepeater::getPageClass() FieldtypeRepeater::getPageClass() | string | Get the class used for repeater Page objects | |
FieldtypeRepeater::getRepeaterConfigHelper() FieldtypeRepeater::getRepeaterConfigHelper(Field $field) FieldtypeRepeater::getRepeaterConfigHelper(Field $field) | FieldtypeRepeaterConfigHelper | @param Field $field | |
FieldtypeRepeater::getRepeaterPageParent() FieldtypeRepeater::getRepeaterPageParent(Page $page, Field $field) FieldtypeRepeater::getRepeaterPageParent(Page $page, Field $field, bool $create = true) | Page NullPage | Return the parent used by the repeater pages for the given Page and Field | |
FieldtypeRepeater::getRepeaterParent() FieldtypeRepeater::getRepeaterParent(Field $field) FieldtypeRepeater::getRepeaterParent(Field $field) | Page | Return the repeater parent used by $field, i.e. /processwire/repeaters/for-field-123/ | |
FieldtypeRepeater::getRepeatersRootPage() FieldtypeRepeater::getRepeatersRootPage() FieldtypeRepeater::getRepeatersRootPage() | Page | Get repeaters root page | |
FieldtypeRepeater::getSelectorInfo() FieldtypeRepeater::getSelectorInfo(Field $field) FieldtypeRepeater::getSelectorInfo(Field $field, array $data = []) | array | Get information used by selectors for querying this field | |
FieldtypeRepeater::getUniqueRepeaterPageName() FieldtypeRepeater::getUniqueRepeaterPageName() FieldtypeRepeater::getUniqueRepeaterPageName() | string | Returns a unique name for a repeater page | |
FieldtypeRepeater::importValue() FieldtypeRepeater::importValue(Page $page, Field $field, array $value) FieldtypeRepeater::importValue(Page $page, Field $field, array $value, array $options = []) | bool PageArray | Import repeater value previously exported by exportValue() | |
FieldtypeRepeater::initAllFields() FieldtypeRepeater::initAllFields() FieldtypeRepeater::initAllFields() | (nothing) | Force initialize of all repeater fields, confirming their configuration settings are correct | |
FieldtypeRepeater::porter() FieldtypeRepeater::porter() FieldtypeRepeater::porter() | FieldtypeRepeaterPorter | @return FieldtypeRepeaterPorter | |
FieldtypeRepeater::repeatersRootPageID | int | | |
FieldtypeRepeater::sanitizeValue() FieldtypeRepeater::sanitizeValue(Page $page, Field $field, mixed $value) FieldtypeRepeater::sanitizeValue(Page $page, Field $field, mixed $value) | PageArray RepeaterPageArray | Handles the sanitization and convertion to PageArray value | |
FieldtypeRepeater::sanitizeValueString() FieldtypeRepeater::sanitizeValueString(Page $page, Field $field, string $value) FieldtypeRepeater::sanitizeValueString(Page $page, Field $field, string $value) | Page PageArray | Given a string value return a Page or PageArray | |
FieldtypeRepeater::savePageField() FieldtypeRepeater::savePageField(Page $page, Field $field) FieldtypeRepeater::savePageField(Page $page, Field $field) | bool | Save the given field from page | |
FieldtypeRepeater::setCustomPageClass() FieldtypeRepeater::setCustomPageClass(Field $field, string $class) FieldtypeRepeater::setCustomPageClass(Field $field, string $class) | (nothing) | Set custom RepeaterPage class for given field | |
FieldtypeRepeater::sleepValue() FieldtypeRepeater::sleepValue(Page $page, Field $field, $value) FieldtypeRepeater::sleepValue(Page $page, Field $field, $value) | array | Given an 'awake' value, as set by wakeupValue, convert the value back to a basic type for storage in DB. | |
FieldtypeRepeater::useLazyParents() FieldtypeRepeater::useLazyParents($field) FieldtypeRepeater::useLazyParents($field) | bool | Use lazy parents mode? | |
FieldtypeRepeater::wakeupValue() FieldtypeRepeater::wakeupValue(Page $page, Field $field, array $value) FieldtypeRepeater::wakeupValue(Page $page, Field $field, array $value) | PageArray | Given a raw value (value as stored in DB), return the value as it would appear in a Page object | |