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
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
Returns HTML with feeds in required format.
get_facebook_feed(string $page_name = '') : array
Arguments
$page_name
string
Array with parameters for this action: depends on the trigger.
Response
array
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
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
Render posts from the Facebook feed
parse_facebook_data( $facebook_entry) : mixed
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
Uses socialfeed_facebook_posts() for fetching Facebook feeds.
socialfeed_facebook_posts()
Fetch instagram pictures
socialfeed_instagram_posts() : array
Fetch pinterest pins
socialfeed_pinterest_posts() : array
sortDESC
sortDESC( $a, $b)
does module support workflow?
supportsWorkflow() : boolean
inherited static
update (save) item in module
update()
inherited
Properties
useractions
useractions :
inherited
remove_configs
remove_configs :
inherited
cache_limit
cache_limit :
display_time
display_time :
display_pic
display_pic :
display_video
display_video :
facebook_hash_tag
facebook_hash_tag :
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