class DownVoteType extends Type (View source)

Properties

$error from  ConcreteObject

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

outputRatingTypeHTML()

No description

rateMessage()

No description

getRatingTypeHandle()

No description

from  Type
getRatingTypeID()

No description

from  Type
static 
getList()

Returns the list of all conversation rating types

from  Type
static 
add($cnvRatingTypeHandle, $cnvRatingTypeName, $cnvRatingTypeCommunityPoints, $pkg = false)

No description

from  Type
static 
getByHandle($cnvRatingTypeHandle)

No description

from  Type
static 
getByID($cnvRatingTypeID)

No description

from  Type
export($xml)

No description

from  Type
static 
exportList($xml)

No description

from  Type
static 
getListByPackage($pkg)

No description

from  Type
delete()

No description

from  Type
from  Type
from  Type
getConversationRatingTypeID()

No description

from  Type
from  Type
getPackageID()

No description

from  Type
getPackageHandle()

No description

from  Type
getPackageObject()

No description

from  Type
string
getConversationRatingTypeDisplayName(string $format = 'html')

Returns the display name for this instance (localized and escaped accordingly to $format)

from  Type

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

outputRatingTypeHTML()

No description

adjustConversationMessageRatingTotalScore(Message $message)

No description

Parameters

Message $message

rateMessage()

No description

getRatingTypeHandle()

No description

getRatingTypeID()

No description

static getList()

Returns the list of all conversation rating types

static add($cnvRatingTypeHandle, $cnvRatingTypeName, $cnvRatingTypeCommunityPoints, $pkg = false)

No description

Parameters

$cnvRatingTypeHandle
$cnvRatingTypeName
$cnvRatingTypeCommunityPoints
$pkg

static getByHandle($cnvRatingTypeHandle)

No description

Parameters

$cnvRatingTypeHandle

static getByID($cnvRatingTypeID)

No description

Parameters

$cnvRatingTypeID

export($xml)

No description

Parameters

$xml

static exportList($xml)

No description

Parameters

$xml

static getListByPackage($pkg)

No description

Parameters

$pkg

delete()

No description

getConversationRatingTypeHandle()

No description

getConversationRatingTypeName()

No description

getConversationRatingTypeID()

No description

getConversationRatingTypePoints()

No description

getPackageID()

No description

getPackageHandle()

No description

getPackageObject()

No description

string getConversationRatingTypeDisplayName(string $format = 'html')

Returns the display name for this instance (localized and escaped accordingly to $format)

Parameters

string $format

= 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped.

Return Value

string