class UpVoteType extends Type (View source)

Properties

$error from Object

Methods

loadError($error)

No description

from Object
isError()

No description

from Object
getError()

No description

from Object
setPropertiesFromArray($arr)

No description

from Object
static 
camelcase($file)

No description

from Object
static 
uncamelcase($string)

No description

from Object
outputRatingTypeHTML()

No description

rateMessage()

No description

getRatingTypeHandle()

No description

from Type
getRatingTypeID()

No description

from Type
static array[Type]
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)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

outputRatingTypeHTML()

adjustConversationMessageRatingTotalScore(Message $message)

Parameters

Message $message

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