class Type extends ConcreteObject (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

getRatingTypeID()

No description

static array[Type]
getList()

Returns the list of all conversation rating types

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

No description

static 
getByHandle($cnvRatingTypeHandle)

No description

static 
getByID($cnvRatingTypeID)

No description

export($xml)

No description

static 
exportList($xml)

No description

static 
getListByPackage($pkg)

No description

delete()

No description

getConversationRatingTypeID()

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)

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

abstract outputRatingTypeHTML()

abstract adjustConversationMessageRatingTotalScore(Message $message)

Parameters

Message $message

abstract rateMessage()

getRatingTypeHandle()

getRatingTypeID()

static array[Type] getList()

Returns the list of all conversation rating types

Return Value

array[Type]

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

Parameters

$cnvRatingTypeHandle
$cnvRatingTypeName
$cnvRatingTypeCommunityPoints
$pkg

static getByHandle($cnvRatingTypeHandle)

Parameters

$cnvRatingTypeHandle

static getByID($cnvRatingTypeID)

Parameters

$cnvRatingTypeID

export($xml)

Parameters

$xml

static exportList($xml)

Parameters

$xml

static getListByPackage($pkg)

Parameters

$pkg

delete()

getConversationRatingTypeHandle()

getConversationRatingTypeName()

getConversationRatingTypeID()

getConversationRatingTypePoints()

getPackageID()

getPackageHandle()

getPackageObject()

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