FieldtypeTable::adjustColumnSetting() FieldtypeTable::adjustColumnSetting(string $setting, string $settingValue) FieldtypeTable::adjustColumnSetting(string $setting, string $settingValue) | string | Analyze and update a column setting if it needs anything | |
FieldtypeTable::deletePageField() FieldtypeTable::deletePageField(Page $page, Field $field) FieldtypeTable::deletePageField(Page $page, Field $field) | bool | Delete the given Field from the given Page. | |
FieldtypeTable::exportValue() FieldtypeTable::exportValue(Page $page, Field $field, $value) FieldtypeTable::exportValue(Page $page, Field $field, $value, array $options = []) | array | Export table rows value for a page to an array | |
FieldtypeTable::fieldHasFileColumns() FieldtypeTable::fieldHasFileColumns(Field $field) FieldtypeTable::fieldHasFileColumns(Field $field) | bool | Does given field have any file-type columns? | |
FieldtypeTable::findColumns() FieldtypeTable::findColumns(Field $field, string $property, $value) FieldtypeTable::findColumns(Field $field, string $property, $value) | array | Find columns having property that matches value | |
FieldtypeTable::formatValue() FieldtypeTable::formatValue(Page $page, Field $field, TableRows $value) FieldtypeTable::formatValue(Page $page, Field $field, TableRows $value) | TableRows | Format Table value for front-end output | |
FieldtypeTable::getArrayClass() FieldtypeTable::getArrayClass($field) FieldtypeTable::getArrayClass($field) | string | Get class to use for TableRows WireArray instances | |
FieldtypeTable::getBlankValue() FieldtypeTable::getBlankValue(Page $page, Field $field) FieldtypeTable::getBlankValue(Page $page, Field $field) | TableRows | Return a blank TableRows value | |
FieldtypeTable::getColTypes() FieldtypeTable::getColTypes() FieldtypeTable::getColTypes() | array | @return array | |
FieldtypeTable::getColumn() FieldtypeTable::getColumn(Field $field, $n) FieldtypeTable::getColumn(Field $field, $n) | array | Get an individual column by number (1 or higher) or name | |
FieldtypeTable::getColumnByName() FieldtypeTable::getColumnByName(Field $field, string $name) FieldtypeTable::getColumnByName(Field $field, string $name) | array | Get an individual column by name (only) | |
FieldtypeTable::getColumns() FieldtypeTable::getColumns(Field $field) FieldtypeTable::getColumns(Field $field) | array | Get an array of all columns indexed by colum number | |
FieldtypeTable::getColumnsByName() FieldtypeTable::getColumnsByName(Field $field) FieldtypeTable::getColumnsByName(Field $field) | array | Get an array of all columns indexed by name | |
FieldtypeTable::getCompatibleFieldtypes() FieldtypeTable::getCompatibleFieldtypes(Field $field) FieldtypeTable::getCompatibleFieldtypes(Field $field) | Fieldtypes | There are no other fieldtypes compatible with this one | |
FieldtypeTable::getConfigInputfields() FieldtypeTable::getConfigInputfields(Field $field) FieldtypeTable::getConfigInputfields(Field $field) | InputfieldWrapper | Configure the FieldtypeTable for details tab | |
FieldtypeTable::getDatabaseSchema() FieldtypeTable::getDatabaseSchema(Field $field) FieldtypeTable::getDatabaseSchema(Field $field) | array | Return the DB schema used by Table | |
FieldtypeTable::getFieldClass() FieldtypeTable::getFieldClass() FieldtypeTable::getFieldClass(array $a = []) | string | Get class name to use Field objects of this type (must be class that extends Field class) | |
FieldtypeTable::getFiles() FieldtypeTable::getFiles(Page $page, Field $field) FieldtypeTable::getFiles(Page $page, Field $field) | array | Get array of full path/file for all files managed by given page and field | |
FieldtypeTable::getFilesPath() FieldtypeTable::getFilesPath(Page $page, Field $field) FieldtypeTable::getFilesPath(Page $page, Field $field) | string | Get path where files are (or would be) stored | |
FieldtypeTable::getInputfield() FieldtypeTable::getInputfield(Page $page, Field $field) FieldtypeTable::getInputfield(Page $page, Field $field) | Inputfield InputfieldTable | Return the Inputfield used for inputting Table data | |
FieldtypeTable::getLoadQueryAutojoin() FieldtypeTable::getLoadQueryAutojoin(Field $field, DatabaseQuerySelect $query) FieldtypeTable::getLoadQueryAutojoin(Field $field, DatabaseQuerySelect $query) | DatabaseQuerySelect null | Return the query used for Autojoining this field (if different from getLoadQuery) or NULL if autojoin not | |
FieldtypeTable::getMatchQuery() FieldtypeTable::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, string $value) FieldtypeTable::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, string $value) | DatabaseQuerySelect DatabaseQuery | Update a DatabaseQuerySelect object to match a Page | |
FieldtypeTable::getRowClass() FieldtypeTable::getRowClass($field) FieldtypeTable::getRowClass($field) | string | Get class to use for TableRow instances | |
FieldtypeTable::getSelectColumnOptions() FieldtypeTable::getSelectColumnOptions(Field $field, $col) FieldtypeTable::getSelectColumnOptions(Field $field, $col) | array | Get array of [ value => title ] for select column options | |
FieldtypeTable::getSelectorInfo() FieldtypeTable::getSelectorInfo(Field $field) FieldtypeTable::getSelectorInfo(Field $field, array $data = []) | array | Get information for use in selectors | |
FieldtypeTable::hasFiles() FieldtypeTable::hasFiles(Page $page, Field $field) FieldtypeTable::hasFiles(Page $page, Field $field) | bool | Whether or not given Page/Field has any files connected with it | |
FieldtypeTable::importValue() FieldtypeTable::importValue(Page $page, Field $field, array $value) FieldtypeTable::importValue(Page $page, Field $field, array $value, array $options = []) | WireData | Import a previously exported array | |
FieldtypeTable::loadPageField() FieldtypeTable::loadPageField(Page $page, Field $field) FieldtypeTable::loadPageField(Page $page, Field $field) | array null | Extend loadPageField to support pagination | |
FieldtypeTable::markupValue() FieldtypeTable::markupValue(Page $page, Field $field) FieldtypeTable::markupValue(Page $page, Field $field, mixed $value = null, string $property = '') | string MarkupFieldtype | Render a markup string of the value | |
FieldtypeTable::newLanguagesPageFieldValue() FieldtypeTable::newLanguagesPageFieldValue(Page $page, Field $field) FieldtypeTable::newLanguagesPageFieldValue(Page $page, Field $field, $values = null) | LanguagesPageFieldValue | Return a new LanguagesPageFieldValue | |
FieldtypeTable::porter() FieldtypeTable::porter() FieldtypeTable::porter() | FieldtypeTablePorter | @return FieldtypeTablePorter | |
FieldtypeTable::reorder() FieldtypeTable::reorder(Field $field) FieldtypeTable::reorder(Field $field) | None | Reorder our field definitions to be consistent with their sort orders | |
FieldtypeTable::sanitizeFieldName() FieldtypeTable::sanitizeFieldName(string $fieldName) FieldtypeTable::sanitizeFieldName(string $fieldName, bool $checkReserved = false) | string | Sanitize a field name | |
FieldtypeTable::sanitizeTextTags() FieldtypeTable::sanitizeTextTags(array $col, $value) FieldtypeTable::sanitizeTextTags(array $col, $value, string $getType = 'string', bool $validate = true, $tagsList = null) | string | Sanitize TextTags value | |
FieldtypeTable::sanitizeValue() FieldtypeTable::sanitizeValue(Page $page, Field $field, TableRows $value) FieldtypeTable::sanitizeValue(Page $page, Field $field, TableRows $value) | TableRows | Sanitize and validate value any time it is set to a Page | |
FieldtypeTable::savePageField() FieldtypeTable::savePageField(Page $page, Field $field) FieldtypeTable::savePageField(Page $page, Field $field) | bool | Save a page field | |
FieldtypeTable::sessionData() FieldtypeTable::sessionData(Page $page, Field $field) FieldtypeTable::sessionData(Page $page, Field $field, $sessionData = null) | array | Get or set session data | |
FieldtypeTable::sleepColumn() FieldtypeTable::sleepColumn(array $col, $itemValue) FieldtypeTable::sleepColumn(array $col, $itemValue) | mixed | Sleep a column value for storage or query | |
FieldtypeTable::sleepValue() FieldtypeTable::sleepValue(Page $page, Field $field, TableRows $value) FieldtypeTable::sleepValue(Page $page, Field $field, TableRows $value) | array | Given a TableRows object, convert it to an array for storage | |
FieldtypeTable::wakeupFile() FieldtypeTable::wakeupFile(Page $page, Field $field, $value, string $type) FieldtypeTable::wakeupFile(Page $page, Field $field, $value, string $type) | Pagefile Pageimage null | Wakeup a filename/basename to a Pagefile/Pageimage | |
FieldtypeTable::wakeupValue() FieldtypeTable::wakeupValue(Page $page, Field $field, array $value) FieldtypeTable::wakeupValue(Page $page, Field $field, array $value) | TableRows | Given a value from the DB, wake it up to a TableRows object | |
FieldtypeTable::wired() FieldtypeTable::wired() FieldtypeTable::wired() | None | Wired to API | |