Methods
__construct
__construct(null $src = null, array $params = array())
inherited
|
|
Throws |
- \ReflectionException
|
Arguments
add module item or all items to search index
addContentToSearch() : integer
inherited
|
|
Throws |
- \ReflectionException
|
Response
integer
number of items added to search index
The aggregateWhereClause function creates a sql where clause which also includes aggregated module content
aggregateWhereClause(string $type = '') : string
inherited
Arguments
Response
string
approve module item
approve()
inherited
author of module
author() : string
inherited static
can this module export data?
canExportData() : boolean
inherited static
can this module import data?
canImportData() : boolean
inherited static
return all categories used by module's items
categories()
inherited
checkPermissions
checkPermissions( $permission, $location)
inherited static
create an item in this module
create()
inherited
deprecated
|
in favor of edit w/o id param
|
|
|
|
|
delete item in module
delete()
inherited
delete module and all its items for backwards compat with old modules
delete_In( $loc)
inherited
delete module, config, and all its items
delete_instance(boolean $loc = false)
inherited
|
|
Throws |
- \ReflectionException
|
Arguments
delete_registrant
delete_registrant()
remove all module items from search index
delete_search()
inherited
description of module
description() : string
inherited static
name of module
displayname() : string
inherited static
download a file attached to item
downloadfile()
inherited
edit item in module, also used to copy items
edit()
inherited
edit_registrant
edit_registrant()
emailRegistrants
emailRegistrants()
eventregistration_process
eventregistration_process()
eventsCalendar
eventsCalendar()
get_guest_controls
get_guest_controls( $ajax = '')
getEventsForDates
getEventsForDates( $edates, $sort_asc = true)
get the model(s) associated with this module
getModels() : array
inherited
function to return event registrations as calendar events
getRegEventsForDates( $startdate, $enddate, string $color = "#FFFFFF") : array
static
hasContent
hasContent()
inherited static
does module have sources available? or does it treat content globally
hasSources() : boolean
inherited static
hasViews
hasViews()
inherited static
is module content searchable? should it be added to search index?
isSearchable() : boolean
inherited static
display module management view
manage()
inherited
rerank module items, called from ddrerank
manage_ranks()
inherited
merge/move aggregated item into this module
merge()
inherited
glue to make the view template aware of the module
moduleSelfAwareness()
inherited
name of module for backwards compat with old modules
name() : string
inherited
permission functions to aggregate a module's visible permissions based on add/remove permissions
permissions() : array
inherited
permission functions to aggregate a module's permissions based on add/remove and manage permissions
permissions_all() : array
inherited
requiresConfiguration
requiresConfiguration()
inherited static
rerank items in model
rerank()
inherited
save module configuration
saveconfig()
inherited
category of items searched in the module
searchCategory() : string
inherited
additional check for display of search hit
searchHit( $record) : boolean
inherited static
Arguments
Response
boolean
type of items searched in the module
searchName() : string
inherited
default view for individual item
show()
inherited
default module view method for all items
showall()
inherited
view the item by referring to its title
showByTitle()
inherited
view a random item
showRandom()
inherited
does module support workflow?
supportsWorkflow() : boolean
inherited static
upcomingEvents
upcomingEvents()
update (save) item in module
update()
inherited
update_registrant
update_registrant()
view_registrants
view_registrants()
Properties
basemodel_name
basemodel_name :
inherited
useractions
useractions :
inherited
add_permissions
add_permissions :
inherited
manage_permissions
manage_permissions :
inherited
remove_configs
remove_configs :
inherited
classname
classname :
inherited
baseclassname
baseclassname :
inherited
classinfo
classinfo :
inherited
model_table
model_table :
inherited
permissions
permissions :
inherited
m_permissions
m_permissions :
inherited
remove_permissions
remove_permissions :
inherited
requires_login
requires_login :
inherited
filepath
filepath :
inherited
viewpath
viewpath :
inherited
relative_viewpath
relative_viewpath :
inherited
asset_path
asset_path :
inherited
config
config :
inherited
params
params :
inherited
codequality
codequality :
inherited
return all comments used by module's items