subpackage
|
Controllers
|
package
|
Modules
|
Methods
__construct
__construct(null $src = null, array $params = array())
inherited
|
|
Throws |
- \ReflectionException
|
Arguments
iCalCreator Function no longer included in iCalCreator
_date2timestamp( $datetime, null $wtz = null) : false|integer|string
static
Arguments
Response
false|integer|string
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
build/update the external event cache
build_cache()
function to build a string to pull in all events within requested date range
build_daterange_sql( $timestamp, null $endtimestamp = null, string $field = 'date', boolean $multiday = false) : string
Arguments
Response
string
buildControl
buildControl()
deprecated
|
function to build a control requested via ajax
we the html just like the control smarty function
|
|
|
|
|
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_all_past
delete_all_past()
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 a recurring event by asking for which event dates to delete
delete_recurring()
remove all module items from search index
delete_search()
inherited
Delete selected event dates for a recurring event and event if all event dates deleted
delete_selected()
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
get_gcal_events
get_gcal_events( $extgcalurl, $startdate, $enddate = null, &$dy, $key, $multiday = false)
get_ical_events
get_ical_events( $exticalurl, $startdate = null, $enddate = null, &$dy, $key, $multiday = false)
getEventsForDates
getEventsForDates( $edates, boolean $sort_asc = true, boolean $featuredonly = false, boolean $condense = false) : array
deprecated
|
moved to event model
|
Arguments
Response
array
getExternalEvents
getExternalEvents( $startdate, $enddate, $multiday = false)
get the model(s) associated with this module
getModels() : array
inherited
hasContent
hasContent()
inherited static
does module have sources available? or does it treat content globally
hasSources() : boolean
inherited static
hasViews
hasViews()
inherited static
import_select
import_select()
is module content searchable? should it be added to search index?
isSearchable() : boolean
inherited static
Convert an event link into a showall_by_date type link
make_event_link( $event_id, $date_id)
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
send_feedback
send_feedback()
send_reminders
send_reminders()
default view for individual item
show()
inherited
default module view method for all items
showall()
inherited
showall_by_date
showall_by_date()
view the item by referring to its title
showByTitle()
inherited
view a random item
showRandom()
inherited
does module support workflow?
supportsWorkflow() : boolean
inherited static
update (save) item in module
update()
inherited
Properties
useractions
useractions :
inherited
remove_configs
remove_configs :
inherited
classname
classname :
inherited
baseclassname
baseclassname :
inherited
classinfo
classinfo :
inherited
basemodel_name
basemodel_name :
inherited
model_table
model_table :
inherited
permissions
permissions :
inherited
m_permissions
m_permissions :
inherited
remove_permissions
remove_permissions :
inherited
add_permissions
add_permissions :
inherited
manage_permissions
manage_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