\LibMelanie\ConfigMappingMce

Configuration du mapping vers MCE

Summary

Methods
Properties
Constants
Init()
UpdateDataMapping()
$Table_Name
$Joins
$Primary_Keys
$Data_Mapping
$MapClassObjectToMce
$MapClassMceToObject
$MapStatusObjectToMce
$MapStatusMceToObject
$MapRecurdaysObjectToMce
$MapRecurdaysMceToObject
$MapRecurtypeObjectToMce
$MapRecurtypeMceToObject
$MapAttendeeTypeObjectToMce
$MapAttendeeTypeMceToObject
$MapAttendeeResponseObjectToMce
$MapAttendeeResponseMceToObject
$MapAttendeeRoleObjectToMce
$MapAttendeeRoleMceToObject
$MapPriorityObjectToMce
$MapPriorityMceToObject
$MapCompletedObjectToMce
$MapCompletedMceToObject
table_join
using
name
prefix
type
size
format
json
string
integer
double
date
prefixLdap
arrayLdap
stringLdap
booleanLdap
dateLdap
trueLdapValue
falseLdapValue
emptyLdapValue
timestamp
defaut
sup
supeq
inf
infeq
diff
like
eq
in
notin
between
notbetween
PRIV
PUB
CONF
NONE
TELEWORK
TENTATIVE
CONFIRMED
CANCELLED
VACATION
NODAY
SUNDAY
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
NORECUR
DAILY
WEEKLY
MONTHLY
MONTHLY_BYDAY
YEARLY
YEARLY_BYDAY
ATT_TYPE_INDIVIDUAL
ATT_TYPE_GROUP
ATT_TYPE_RESOURCE
ATT_TYPE_ROOM
ATT_TYPE_UNKNOWN
ATT_TYPE_FLEX_OFFICE
ATT_TYPE_HARDWARE
ATT_TYPE_CAR
ATT_NEED_ACTION
ATT_ACCEPTED
ATT_DECLINED
ATT_TENTATIVE
ATT_DELEGATED
REQ_PARTICIPANT
OPT_PARTICIPANT
NON_PARTICIPANT
CHAIR
NO_PRIORITY
VERY_HIGH
HIGH
NORMAL
LOW
VERY_LOW
COMPLETED
NOTCOMPLETED
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

table_join

table_join ="table_join"

using

using ="using"

name

name ="name"

prefix

prefix ="prefix"

type

type ="type"

size

size ="size"

format

format ="format"

json

json ="json"

string

string ="string"

integer

integer ="integer"

double

double ="double"

date

date ="date"

prefixLdap

prefixLdap ="prefixLdap"

arrayLdap

arrayLdap ="arrayLdap"

stringLdap

stringLdap ="stringLdap"

booleanLdap

booleanLdap ="booleanLdap"

dateLdap

dateLdap ="dateLdap"

trueLdapValue

trueLdapValue ="trueLdapValue"

falseLdapValue

falseLdapValue ="falseLdapValue"

emptyLdapValue

emptyLdapValue ="emptyLdapValue"

timestamp

timestamp ="timestamp"

defaut

defaut ="defaut"

sup

sup =">"

supeq

supeq =">="

inf

inf ="<"

infeq

infeq ="<="

diff

diff ="<>"

like

like ="LIKE"

eq

eq ="="

in

in ="IN"

notin

notin ="NOT IN"

between

between ="BETWEEN"

notbetween

notbetween ="NOT BETWEEN"

PRIV

PRIV =1

PUB

PUB =0

CONF

CONF =2

NONE

NONE =4

TELEWORK

TELEWORK =5

TENTATIVE

TENTATIVE =1

CONFIRMED

CONFIRMED =2

CANCELLED

CANCELLED =3

VACATION

VACATION =6

NODAY

NODAY =0

SUNDAY

SUNDAY =1

MONDAY

MONDAY =2

TUESDAY

TUESDAY =4

WEDNESDAY

WEDNESDAY =8

THURSDAY

THURSDAY =16

FRIDAY

FRIDAY =32

SATURDAY

SATURDAY =64

NORECUR

NORECUR =0

DAILY

DAILY =1

WEEKLY

WEEKLY =2

MONTHLY

MONTHLY =3

MONTHLY_BYDAY

MONTHLY_BYDAY =4

YEARLY

YEARLY =5

YEARLY_BYDAY

YEARLY_BYDAY =6

ATT_TYPE_INDIVIDUAL

ATT_TYPE_INDIVIDUAL =1

ATT_TYPE_GROUP

ATT_TYPE_GROUP =2

ATT_TYPE_RESOURCE

ATT_TYPE_RESOURCE =3

ATT_TYPE_ROOM

ATT_TYPE_ROOM =4

ATT_TYPE_UNKNOWN

ATT_TYPE_UNKNOWN =5

ATT_TYPE_FLEX_OFFICE

ATT_TYPE_FLEX_OFFICE =6

ATT_TYPE_HARDWARE

ATT_TYPE_HARDWARE =7

ATT_TYPE_CAR

ATT_TYPE_CAR =8

ATT_NEED_ACTION

ATT_NEED_ACTION =1

ATT_ACCEPTED

ATT_ACCEPTED =2

ATT_DECLINED

ATT_DECLINED =3

ATT_TENTATIVE

ATT_TENTATIVE =4

ATT_DELEGATED

ATT_DELEGATED =5

REQ_PARTICIPANT

REQ_PARTICIPANT =1

OPT_PARTICIPANT

OPT_PARTICIPANT =2

NON_PARTICIPANT

NON_PARTICIPANT =3

CHAIR

CHAIR =4

NO_PRIORITY

NO_PRIORITY =0

VERY_HIGH

VERY_HIGH =1

HIGH

HIGH =2

NORMAL

NORMAL =3

LOW

LOW =4

VERY_LOW

VERY_LOW =5

COMPLETED

COMPLETED =1

NOTCOMPLETED

NOTCOMPLETED =0

Properties

$Table_Name

$Table_Name :array

Tables associées aux objets

Type

array

$Joins

$Joins :array

Jointures associées aux objets

Type

array

$Primary_Keys

$Primary_Keys :array

Clés primaires des tables Melanie2

Type

array

$Data_Mapping

$Data_Mapping :array

Gestion du mapping entre les données et les champs de la base de données need name, type if != string, format for datetime (user constants)

Type

array

$MapClassObjectToMce

$MapClassObjectToMce :

Class mapping object to MCE

Type

$MapClassMceToObject

$MapClassMceToObject :

Class mapping MCE to object

Type

$MapStatusObjectToMce

$MapStatusObjectToMce :

Status mapping object to MCE

Type

$MapStatusMceToObject

$MapStatusMceToObject :

Status mapping MCE to object

Type

$MapRecurdaysObjectToMce

$MapRecurdaysObjectToMce :

Recurdays mapping object to MCE

Type

$MapRecurdaysMceToObject

$MapRecurdaysMceToObject :

Recurdays mapping MCE to object

Type

$MapRecurtypeObjectToMce

$MapRecurtypeObjectToMce :

Recurtype mapping object to MCE

Type

$MapRecurtypeMceToObject

$MapRecurtypeMceToObject :

Recurtype mapping MCE to object

Type

$MapAttendeeTypeObjectToMce

$MapAttendeeTypeObjectToMce :

Attendee type mapping object to MCE

Type

$MapAttendeeTypeMceToObject

$MapAttendeeTypeMceToObject :

Attendee type mapping MCE to object

Type

$MapAttendeeResponseObjectToMce

$MapAttendeeResponseObjectToMce :

Attendee response mapping object to MCE

Type

$MapAttendeeResponseMceToObject

$MapAttendeeResponseMceToObject :

Attendee response mapping MCE to object

Type

$MapAttendeeRoleObjectToMce

$MapAttendeeRoleObjectToMce :

Attendee role mapping object to MCE

Type

$MapAttendeeRoleMceToObject

$MapAttendeeRoleMceToObject :

Attendee role mapping MCE to object

Type

$MapPriorityObjectToMce

$MapPriorityObjectToMce :

Priority Mapping object to MCE

Type

$MapPriorityMceToObject

$MapPriorityMceToObject :

Priority Mapping MCE to object

Type

$MapCompletedObjectToMce

$MapCompletedObjectToMce :

Completed mapping object to MCE

Type

$MapCompletedMceToObject

$MapCompletedMceToObject :

Completed mapping MCE to object

Type

Methods

Init()

Init()

Initialisation du mapping

UpdateDataMapping()

UpdateDataMapping(string  $object,array  $dataMapping): boolean

Mise a jour du DataMapping depuis une application externe Permet de faire le mapping de façon dynamique

Parameters

string $object

Nom de l'objet (UserMelanie, CalendarMelanie, ...)

array $dataMapping

Données à mettre à jour, effectue un array_merge

Returns

boolean —

true si les valeurs sont OK, false sinon