FieldtypeComments class - ProcessWire API
Fieldtype
boolAdd new comment
Fieldtype
arrayCheck the request for a vote action
Fieldtype
intGiven a field and a selector, return total quantity of comments matching the selector
Fieldtype
boolDelete a given comment
Fieldtype
boolDelete the given field, which implies: drop the table $field->table
Fieldtype
arrayExport value
Fieldtype
CommentArray intGiven a field and a selector, find all comments matching the selector
Fieldtype
CommentArrayFind comments, static version for backwards compatibility
Fieldtype
Fieldtype
Comment nullGiven a comment code or subcode, return the associated comment ID or 0 if it doesn't exist
Fieldtype
Comment nullGet a comment by ID or NULL if not found
Fieldtype
CommentArrayGet parent comments for given Comment
Fieldtype
CommentArrayGet multiple comments by ID
Fieldtype
array Field nullReturn comments field(s)
Fieldtype
InputfieldWrapperConfiguration that appears with each Comments fieldtype
Fieldtype
arraySchema for the Comments Fieldtype
Fieldtype
Fieldtype
Fieldtype
nullFor FieldtypeMulti interface, return NULL to indicate that the field is not auto-joinable
Fieldtype
DatabaseQuery DatabaseQuerySelectUpdate a query to match the text with a fulltext index
Fieldtype
arrayGet emails (and other data) of people that should be notified for a given Page’s comments
Fieldtype
intGet number of comments for Page, optionally limited by specific $options
Fieldtype
array stringImport value
Fieldtype
Fieldtype
boolPer the Fieldtype interface, Save the given Field from the given Page to the database
Fieldtype
intGet emails (and other data) of people that should be notified for a given Page’s comments
Fieldtype
arrayGiven an 'awake' value, as set by wakeupValue, convert the value back to a basic type for storage in DB.
Fieldtype
boolUpdate specific properties for a comment
Fieldtype
boolAdd a vote to the current comment from the current user/IP
Fieldtype
CommentArrayGiven a raw value (value as stored in DB), return the value as it would appear in a Page object
Fieldtype