FieldtypePage:: cleanOrphanedReferences()
FieldtypePage:: cleanOrphanedReferences ()
FieldtypePage:: cleanOrphanedReferences ()
(nothing) Find and clean orphaned references in each of FieldtypePage's tables FieldtypePage:: exportConfigData()
FieldtypePage:: exportConfigData (Field $field , array $data )
FieldtypePage:: exportConfigData (Field $field , array $data )
array
Export configuration values for external consumption FieldtypePage:: exportValue()
FieldtypePage:: exportValue (Page $page , Field $field , $value )
FieldtypePage:: exportValue (Page $page , Field $field , $value , array $options = [] )
array
string
Export value FieldtypePage:: findReferences()
FieldtypePage:: findReferences (Page $page )
FieldtypePage:: findReferences (Page $page , $selector = '' , $field = false , bool $getCount = false )
PageArray
array
int
Return pages referencing the given $page, optionally indexed by field name FieldtypePage:: formatValue()
FieldtypePage:: formatValue (Page $page , Field $field , $value )
FieldtypePage:: formatValue (Page $page , Field $field , $value )
string
Format the given value for output. FieldtypePage:: getBlankValue()
FieldtypePage:: getBlankValue (Page $page , Field $field )
FieldtypePage:: getBlankValue (Page $page , Field $field )
Page
PageArray
bool
Return either a blank Page or a blank PageArray or boolean false (depending on derefAsPage setting) FieldtypePage:: getCompatibleFieldtypes()
FieldtypePage:: getCompatibleFieldtypes (Field $field )
FieldtypePage:: getCompatibleFieldtypes (Field $field )
Fieldtypes
FieldtypePage instances are only compatible with other FieldtypePage derived classes. FieldtypePage:: getConfigInputfields()
FieldtypePage:: getConfigInputfields (Field $field )
FieldtypePage:: getConfigInputfields (Field $field )
InputfieldWrapper
Return configuration fields definable for each FieldtypePage FieldtypePage:: getDatabaseSchema()
FieldtypePage:: getDatabaseSchema (Field $field )
FieldtypePage:: getDatabaseSchema (Field $field )
array
Return the database schema in predefined format FieldtypePage:: getFieldClass()
FieldtypePage:: getFieldClass ()
FieldtypePage:: getFieldClass (array $a = [] )
string
Get class name to use Field objects of this type (must be class that extends Field class) FieldtypePage:: getFieldSetups()
FieldtypePage:: getFieldSetups ()
FieldtypePage:: getFieldSetups ()
array
Get setup options and setup functions for new fields FieldtypePage:: getInputfield()
FieldtypePage:: getInputfield (Page $page , Field $field )
FieldtypePage:: getInputfield (Page $page , Field $field )
InputfieldPage
Return an InputfieldPage of the type configured FieldtypePage:: getLoadQueryAutojoin()
FieldtypePage:: getLoadQueryAutojoin (Field $field , DatabaseQuerySelect $query )
FieldtypePage:: getLoadQueryAutojoin (Field $field , DatabaseQuerySelect $query )
DatabaseQuerySelect
null
Return the query used for Autojoining this field FieldtypePage:: getMatchQuery()
FieldtypePage:: getMatchQuery ($query , string $table , string $subfield , string $operator , string $value )
FieldtypePage:: getMatchQuery ($query , string $table , string $subfield , string $operator , string $value )
DatabaseQuery
Update a DatabaseQuerySelect object to match a Page FieldtypePage:: getSelectorInfo()
FieldtypePage:: getSelectorInfo (Field $field )
FieldtypePage:: getSelectorInfo (Field $field , array $data = [] )
array
Return array with information about what properties and operators can be used with this field FieldtypePage:: importConfigData()
FieldtypePage:: importConfigData (Field $field , array $data )
FieldtypePage:: importConfigData (Field $field , array $data )
array
Convert an array of exported data to a format that will be understood internally FieldtypePage:: importValue()
FieldtypePage:: importValue (Page $page , Field $field , $value )
FieldtypePage:: importValue (Page $page , Field $field , $value , array $options = [] )
PageArray
Import value FieldtypePage:: isAutoload()
FieldtypePage:: isAutoload ()
FieldtypePage:: isAutoload ()
bool
We want FieldtypePage to autoload so that it can monitor page deletes FieldtypePage:: isEmptyValue()
FieldtypePage:: isEmptyValue (Field $field , $value )
FieldtypePage:: isEmptyValue (Field $field , $value )
bool
Return whether the given value is considered empty or not. FieldtypePage:: isValidPage()
FieldtypePage:: isValidPage (Page $value , Field $field , Page $forPage )
FieldtypePage:: isValidPage (Page $value , Field $field , Page $forPage , bool $throwException = false )
bool
Validate that that $value is a valid Page for this field FieldtypePage:: markupValue()
FieldtypePage:: markupValue (Page $page , Field $field )
FieldtypePage:: markupValue (Page $page , Field $field , null $value = null , string $property = '' )
MarkupFieldtype
string
Render markup value for field FieldtypePage:: sanitizeValue()
FieldtypePage:: sanitizeValue (Page $page , Field $field , $value )
FieldtypePage:: sanitizeValue (Page $page , Field $field , $value )
Page
PageArray
bool
Given a value of unknown type, return a Page or PageArray (depending on $field->derefAsPage setting) FieldtypePage:: savePageField()
FieldtypePage:: savePageField (Page $page , Field $field )
FieldtypePage:: savePageField (Page $page , Field $field )
bool
Per the Fieldtype interface, Save the given Field from the given Page to the database FieldtypePage:: sleepValue()
FieldtypePage:: sleepValue (Page $page , Field $field , $value )
FieldtypePage:: 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. FieldtypePage:: wakeupValue()
FieldtypePage:: wakeupValue (Page $page , Field $field , $value )
FieldtypePage:: wakeupValue (Page $page , Field $field , $value )
PageArray
Given a raw value (value as stored in DB), return the value as it would appear in a Page object