This is the class expCommentController
| package |
Core |
|---|---|
| subpackage |
Controllers |
__construct(null $src = null, array $params = array())
| Throws |
|
|---|
null
array
addContentToSearch() : integer
| Throws |
|
|---|
integernumber of items added to search index
aggregateWhereClause(string $type = '') : string
string
string
approve()
approve_submit()
approve_toggle()
bulk_process()
canExportData() : boolean
boolean
canImportData() : boolean
boolean
categories()
checkPermissions( $permission, $location)
comments()
configure()
countComments( $params) : integer
| static |
|---|
integer
create()
| deprecated |
in favor of edit w/o id param |
|---|---|
delete()
delete_In( $loc)
delete_instance(boolean $loc = false)
| Throws |
|
|---|
boolean
delete_search()
description() : string
string
displayname() : string
string
downloadfile()
edit()
getComments( $params) : array
| static |
|---|
array
getModels() : array
array
getRSSContent(integer $limit) : array
this function is very general and will most of the time need to be overwritten and customized
integer
array
hasContent()
hasSources() : boolean
boolean
hasViews()
isSearchable() : boolean
boolean
manage()
manage_ranks()
merge()
moduleSelfAwareness()
| deprecated | |
|---|---|
name() : string
string
requiresConfiguration()
rerank()
rss()
saveconfig()
searchCategory() : string
string
searchHit( $record) : boolean
boolean
searchName() : string
string
sendApprovalNotification( $comment, $params)
sendNotification( $comment, $params)
show()
showall()
showByTags()
| deprecated | |
|---|---|
showByTitle()
| deprecated | |
|---|---|
showComments()
showRandom()
supportsWorkflow() : boolean
boolean
update()
base_class :
classname :
baseclassname :
classinfo :
basemodel_name :
model_table :
useractions :
remove_configs :
requires_login :
filepath :
viewpath :
relative_viewpath :
asset_path :
config :
params :
loc :
codequality :
rss_is_podcast :
function to arrange comments in hierarchy of parent_id's as children properties
Arguments
$comments
arrayResponse
array