\MediationCentre

This abstract class defines the functions which are identical in all account types, be they Organisation or Individual and be they Agent or Mediator, Law Firm or Mediation Centre.

This does not implement the AccountInterface because some methods in the interface require different definitions depending on the account type.

Summary

Methods
Properties
Constants
__construct()
setVariables()
getName()
getRawDescription()
getDescription()
setDescription()
getIndividuals()
getLoginId()
getEmail()
getNotifications()
getAllDisputes()
getUrl()
getRole()
__toString()
getMediators()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
setProperty()
No private properties found
N/A

Methods

__construct()

__construct(Array|Int  $account) 

Constructor should create a sub-classed Account object.

Parameters

Array|Int $account

Associative array corresponding to the account, taken from the database. OR an integer corresponding to the login_id of the account.

setVariables()

setVariables(Array|Int  $account) 

Called by constructor - repopulates the object properties from the database. Usually done after a refresh.

Parameters

Array|Int $account

Associative array corresponding to the account, taken from the database. OR an integer corresponding to the login_id of the account.

getName()

getName() : String

Gets the name of the account.

Returns

String

getRawDescription()

getRawDescription() 

getDescription()

getDescription() 

setDescription()

setDescription(  $description) 

Parameters

$description

getIndividuals()

getIndividuals(  $type) 

Parameters

$type

getLoginId()

getLoginId() 

getEmail()

getEmail() 

getNotifications()

getNotifications() 

getAllDisputes()

getAllDisputes() 

getUrl()

getUrl() 

getRole()

getRole() 

__toString()

__toString() 

getMediators()

getMediators() 

setProperty()

setProperty(  $key,   $value) 

Parameters

$key
$value