FieldtypePageTable::exportConfigData() FieldtypePageTable::exportConfigData(Field $field, array $data) FieldtypePageTable::exportConfigData(Field $field, array $data) | array | Export configuration values for external consumption | |
FieldtypePageTable::findOrphans() FieldtypePageTable::findOrphans(Page $page, Field $field) FieldtypePageTable::findOrphans(Page $page, Field $field) | PageArray | Return orphan pages that match the PageTable settings | |
FieldtypePageTable::formatValue() FieldtypePageTable::formatValue(Page $page, Field $field, PageArray $value) FieldtypePageTable::formatValue(Page $page, Field $field, PageArray $value) | PageArray | Return a formatted PageTable value, which is essentially a new PageArray with hidden items removed | |
FieldtypePageTable::getBlankValue() FieldtypePageTable::getBlankValue(Page $page, Field $field) FieldtypePageTable::getBlankValue(Page $page, Field $field) | PageArray | Return a blank value used by a PageTable | |
FieldtypePageTable::getConfigInputfields() FieldtypePageTable::getConfigInputfields($field) FieldtypePageTable::getConfigInputfields($field) | InputfieldWrapper | Return configuration fields definable for each FieldtypePage | |
FieldtypePageTable::getDatabaseSchema() FieldtypePageTable::getDatabaseSchema(Field $field) FieldtypePageTable::getDatabaseSchema(Field $field) | array | Return the database schema used by this Fieldtype | |
FieldtypePageTable::getFieldClass() FieldtypePageTable::getFieldClass() FieldtypePageTable::getFieldClass(array $a = []) | string | Get class name to use Field objects of this type (must be class that extends Field class) | |
FieldtypePageTable::getInputfield() FieldtypePageTable::getInputfield(Page $page, $field) FieldtypePageTable::getInputfield(Page $page, $field) | Inputfield | Get the Inputfield used for input by PageTable | |
FieldtypePageTable::getMatchQuery() FieldtypePageTable::getMatchQuery($query, string $table, string $subfield, string $operator, mixed $value) FieldtypePageTable::getMatchQuery($query, string $table, string $subfield, string $operator, mixed $value) | DatabaseQuery | Get the match query for page selection, delegated to FieldtypePage | |
FieldtypePageTable::getModuleInfo() FieldtypePageTable::getModuleInfo() FieldtypePageTable::getModuleInfo() | (nothing) | | |
FieldtypePageTable::getSelectorInfo() FieldtypePageTable::getSelectorInfo(Field $field) FieldtypePageTable::getSelectorInfo(Field $field, array $data = []) | array | Get information used by selectors for querying this field | |
FieldtypePageTable::hookAfterReady() FieldtypePageTable::hookAfterReady(HookEvent $event) FieldtypePageTable::hookAfterReady(HookEvent $event) | (nothing) | Install our ajax lister at ready() time, if the conditions are right | |
FieldtypePageTable::hookPagesCloned() FieldtypePageTable::hookPagesCloned(HookEvent $event) FieldtypePageTable::hookPagesCloned(HookEvent $event) | (nothing) | Hook called when a page is cloned | |
FieldtypePageTable::hookPagesDelete() FieldtypePageTable::hookPagesDelete(HookEvent $event) FieldtypePageTable::hookPagesDelete(HookEvent $event) | (nothing) | Hook called when a page is deleted | |
FieldtypePageTable::hookPagesDeleteReady() FieldtypePageTable::hookPagesDeleteReady(HookEvent $event) FieldtypePageTable::hookPagesDeleteReady(HookEvent $event) | (nothing) | Hook called when a page is about to be deleted | |
FieldtypePageTable::hookPagesPublished() FieldtypePageTable::hookPagesPublished(HookEvent $event) FieldtypePageTable::hookPagesPublished(HookEvent $event) | (nothing) | Hook called when a page has been published | |
FieldtypePageTable::hookPagesTrashed() FieldtypePageTable::hookPagesTrashed(HookEvent $event) FieldtypePageTable::hookPagesTrashed(HookEvent $event) | (nothing) | Hook called when a page has been trashed | |
FieldtypePageTable::hookPagesUnpublished() FieldtypePageTable::hookPagesUnpublished(HookEvent $event) FieldtypePageTable::hookPagesUnpublished(HookEvent $event) | (nothing) | Hook called when a page has been unpublished | |
FieldtypePageTable::importConfigData() FieldtypePageTable::importConfigData(Field $field, array $data) FieldtypePageTable::importConfigData(Field $field, array $data) | array | Convert an array of exported data to a format that will be understood internally (opposite of exportConfigData) | |
FieldtypePageTable::init() FieldtypePageTable::init() FieldtypePageTable::init() | (nothing) | Initialize the PageTable hooks | |
FieldtypePageTable::sanitizeValue() FieldtypePageTable::sanitizeValue(Page $page, Field $field, $value) FieldtypePageTable::sanitizeValue(Page $page, Field $field, $value) | PageArray | Sanitize a PageTable value | |
FieldtypePageTable::sleepValue() FieldtypePageTable::sleepValue(Page $page, $field, PageArray $value) FieldtypePageTable::sleepValue(Page $page, $field, PageArray $value) | array | Prep a value for storage | |
FieldtypePageTable::wakeupValue() FieldtypePageTable::wakeupValue(Page $page, $field, array $value) FieldtypePageTable::wakeupValue(Page $page, $field, array $value) | PageArray | Wake up a stored value | |