Liking cljdoc? Tell your friends :D

reverie.module.entity


IModuleEntitycljprotocol

slugclj

(slug entity)

Get slug to be used as part of a URI

Get slug to be used as part of a URI

field-attribsclj

(field-attribs entity field)

Attributes for the field

Attributes for the field

interfaceclj

(interface entity)

Get the interface of the entity

Get the interface of the entity

pkclj

(pk entity)

Get the primary key for the entity (eg, id)

Get the primary key for the entity (eg, id)

tableclj

(table entity)

Get table of entity

Get table of entity

field-optionsclj

(field-options entity field)

Options for the field

Options for the field

sectionsclj

(sections entity)

Sections for the entity

Sections for the entity

pre-save-fnclj

(pre-save-fn entity)

Function data is run through before saving the data

Function data is run through before saving the data

nameclj

(name entity)

Name of entity

Name of entity

fieldsclj

(fields entity)

Fields for the entity in the database

Fields for the entity in the database

field-attribclj

(field-attrib entity field attribute)
(field-attrib entity field attribute default)

Attribute for the field with optional default

Attribute for the field with optional default

field-nameclj

(field-name entity field)

Field name for the field

Field name for the field

fieldclj

(field entity field)

Field for the entity

Field for the entity

post-fnclj

(post-fn entity)

Function data is run through after a post

Function data is run through after a post

error-field-namesclj

(error-field-names entity)

Return a hashmap for vlad error messages

Return a hashmap for vlad error messages

publishing?clj

(publishing? entity)

Does the entity support publishing?

Does the entity support publishing?

displayclj

(display entity)

What to display in admin interface for listings of this entity

What to display in admin interface for listings of this entity

module-entityclj

(module-entity [key options])

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close