\LibMelanie\ConfigConfig

Configuration de l'ORM Permet de récupérer les valeurs de configuration possible soit par défaut soit donné par le serveur

Se référer aux contantes listées pour avoir les valeurs disponibles

Summary

Methods
Properties
Constants
get()
is_set()
No public properties found
CONFIG_NAME
USE_NEW_MODE
CACHE_ENABLED
CACHE_DELAY
CACHE_TYPE
CACHE_MEMCACHE_HOST
ATTRIBUTE_OWNER
ATTRIBUTE_NAME_NAME
ATTRIBUTE_NAME_PERM
ATTRIBUTE_NAME_PERMGROUP
PREF_SCOPE
TZ_PREF_NAME
APP_NAME
GENERAL_PREF_SCOPE
CALENDAR_PREF_SCOPE
CALENDAR_GROUP_UID
CALENDAR_PREF_DEFAULT_NAME
CALENDAR_DEFAULT_TIMEZONE
CALENDAR_CALDAV_URL
TASKSLIST_PREF_SCOPE
TASKSLIST_GROUP_UID
TASKSLIST_PREF_DEFAULT_NAME
TASKSLIST_CALDAV_URL
ADDRESSBOOK_PREF_SCOPE
ADDRESSBOOK_GROUP_UID
ADDRESSBOOK_PREF_DEFAULT_NAME
ADDRESSBOOK_CARDDAV_URL
HISTORY_ADD
HISTORY_MODIFY
HISTORY_DELETE
PRIV
FREEBUSY
READ
DELETE
WRITE
PUB
CONFIDENTIAL
TENTATIVE
CONFIRMED
CANCELLED
NONE
NODAY
SUNDAY
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
NORECUR
DAILY
WEEKLY
MONTHLY
MONTHLY_BYDAY
YEARLY
YEARLY_BYDAY
RESPONSE
NEED_ACTION
ACCEPTED
DECLINED
IN_PROCESS
SELF_INVITE
SELF_INVITE_ATTENDEE
NEED_ACTION_ATTENDEE
IS_SAVED_ATTENDEE
IS_LIST_ATTENDEE
IS_INDIVIDUELLE_ATTENDEE
IS_RESSOURCE_ATTENDEE
IS_EXTERNAL_ATTENDEE
UID_ATTENDEE
DELEGATED_FROM
DELEGATED_TO
ROLE
CHAIR
REQ_PARTICIPANT
OPT_PARTICIPANT
NON_PARTICIPANT
NAME
CUTYPE
NO_PRIORITY
VERY_HIGH
HIGH
NORMAL
LOW
VERY_LOW
TYPE_FILE
TYPE_FOLDER
COMPLETED
NOTCOMPLETED
DEFAULT_ATTACHMENTS_FOLDER
ATTACHMENTS_EVENT_FOLDER
ATTACHMENTS_CALENDAR_FOLDER
ATTACHMENTS_PATH
ATTACHMENT_DOWNLOAD_URL
DEFAULT_ATTACHMENT_CONTENTTYPE
ICS_ADD_TIMEZONE
REUSE_PREPARE_STATEMENT
SEL_ENABLED
SEL_MAX_ACQUIRE
SEL_NB_ESSAI
SEL_TEMPS_ATTENTE
SEL_FILE_NAME
USE_SHARED_INVITATION
SHARED_INVITATION_REPLACE_CHAR
SHARED_INVITATION_TEXT
ALWAYS_SHOW_EVENT_CREATOR
SHARED_EVENT_CREATOR
SHARED_EVENT_CREATOR_SELF
SHARED_EVENT_CREATION_DATE_FORMAT
LDAP_TYPE_INDIVIDUELLE
LDAP_TYPE_PARTAGEE
LDAP_TYPE_FONCTIONNELLE
LDAP_TYPE_RESSOURCE
LDAP_TYPE_UNITE
LDAP_TYPE_SERVICE
LDAP_TYPE_APPLICATIVE
LDAP_TYPE_PERSONNE
LDAP_TYPE_LIST
LDAP_TYPE_LISTAB
NEED_ACTION_ENABLE
NEED_ACTION_ENABLE_FILTER
NEED_ACTION_DISABLE_FILTER
USE_SQL_FUNCTIONS_INSTEAD_OF_QUERIES
SENDERS
DEBUG
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

CONFIG_NAME

CONFIG_NAME ="LibMelanie\Config\%%ConfigName%%" :string

Nom de la configuration serveur a utiliser

USE_NEW_MODE

USE_NEW_MODE ='USE_NEW_MODE'

CACHE_ENABLED

CACHE_ENABLED ='CACHE_ENABLED'

CACHE_DELAY

CACHE_DELAY ='CACHE_DELAY'

CACHE_TYPE

CACHE_TYPE ='CACHE_TYPE'

CACHE_MEMCACHE_HOST

CACHE_MEMCACHE_HOST ='CACHE_MEMCACHE_HOST'

ATTRIBUTE_OWNER

ATTRIBUTE_OWNER ='ATTRIBUTE_OWNER'

ATTRIBUTE_NAME_NAME

ATTRIBUTE_NAME_NAME ='ATTRIBUTE_NAME_NAME'

ATTRIBUTE_NAME_PERM

ATTRIBUTE_NAME_PERM ='ATTRIBUTE_NAME_PERM'

ATTRIBUTE_NAME_PERMGROUP

ATTRIBUTE_NAME_PERMGROUP ='ATTRIBUTE_NAME_PERMGROUP'

PREF_SCOPE

PREF_SCOPE ='PREF_SCOPE'

TZ_PREF_NAME

TZ_PREF_NAME ='TZ_PREF_NAME'

APP_NAME

APP_NAME ='APP_NAME'

GENERAL_PREF_SCOPE

GENERAL_PREF_SCOPE ="GENERAL_PREF_SCOPE"

CALENDAR_PREF_SCOPE

CALENDAR_PREF_SCOPE ="CALENDAR_PREF_SCOPE"

CALENDAR_GROUP_UID

CALENDAR_GROUP_UID ='CALENDAR_GROUP_UID'

CALENDAR_PREF_DEFAULT_NAME

CALENDAR_PREF_DEFAULT_NAME ="CALENDAR_PREF_DEFAULT_NAME"

CALENDAR_DEFAULT_TIMEZONE

CALENDAR_DEFAULT_TIMEZONE ="CALENDAR_DEFAULT_TIMEZONE"

CALENDAR_CALDAV_URL

CALENDAR_CALDAV_URL ='CALENDAR_CALDAV_URL'

TASKSLIST_PREF_SCOPE

TASKSLIST_PREF_SCOPE ="TASKSLIST_PREF_SCOPE"

TASKSLIST_GROUP_UID

TASKSLIST_GROUP_UID ='TASKSLIST_GROUP_UID'

TASKSLIST_PREF_DEFAULT_NAME

TASKSLIST_PREF_DEFAULT_NAME ="TASKSLIST_PREF_DEFAULT_NAME"

TASKSLIST_CALDAV_URL

TASKSLIST_CALDAV_URL ='TASKSLIST_CALDAV_URL'

ADDRESSBOOK_PREF_SCOPE

ADDRESSBOOK_PREF_SCOPE ="ADDRESSBOOK_PREF_SCOPE"

ADDRESSBOOK_GROUP_UID

ADDRESSBOOK_GROUP_UID ='ADDRESSBOOK_GROUP_UID'

ADDRESSBOOK_PREF_DEFAULT_NAME

ADDRESSBOOK_PREF_DEFAULT_NAME ="ADDRESSBOOK_PREF_DEFAULT_NAME"

ADDRESSBOOK_CARDDAV_URL

ADDRESSBOOK_CARDDAV_URL ='ADDRESSBOOK_CARDDAV_URL'

HISTORY_ADD

HISTORY_ADD ="HISTORY_ADD"

HISTORY_MODIFY

HISTORY_MODIFY ="HISTORY_MODIFY"

HISTORY_DELETE

HISTORY_DELETE ="HISTORY_DELETE"

PRIV

PRIV ="PRIV"

FREEBUSY

FREEBUSY ="FREEBUSY"

READ

READ ="READ"

DELETE

DELETE ="DELETE"

WRITE

WRITE ="WRITE"

PUB

PUB ="PUB"

CONFIDENTIAL

CONFIDENTIAL ="CONFIDENTIAL"

TENTATIVE

TENTATIVE ="TENTATIVE"

CONFIRMED

CONFIRMED ="CONFIRMED"

CANCELLED

CANCELLED ="CANCELLED"

NONE

NONE ="NONE"

NODAY

NODAY ="NODAY"

SUNDAY

SUNDAY ="SUNDAY"

MONDAY

MONDAY ="MONDAY"

TUESDAY

TUESDAY ="TUESDAY"

WEDNESDAY

WEDNESDAY ="WEDNESDAY"

THURSDAY

THURSDAY ="THURSDAY"

FRIDAY

FRIDAY ="FRIDAY"

SATURDAY

SATURDAY ="SATURDAY"

NORECUR

NORECUR ="NORECUR"

DAILY

DAILY ="DAILY"

WEEKLY

WEEKLY ="WEEKLY"

MONTHLY

MONTHLY ="MONTHLY"

MONTHLY_BYDAY

MONTHLY_BYDAY ="MONTHLY_BYDAY"

YEARLY

YEARLY ="YEARLY"

YEARLY_BYDAY

YEARLY_BYDAY ="YEARLY_BYDAY"

RESPONSE

RESPONSE ="RESPONSE"

NEED_ACTION

NEED_ACTION ="NEED_ACTION"

ACCEPTED

ACCEPTED ="ACCEPTED"

DECLINED

DECLINED ="DECLINED"

IN_PROCESS

IN_PROCESS ="IN_PROCESS"

SELF_INVITE

SELF_INVITE ="SELF_INVITE"

SELF_INVITE_ATTENDEE

SELF_INVITE_ATTENDEE ='SELF_INVITE_ATTENDEE'

NEED_ACTION_ATTENDEE

NEED_ACTION_ATTENDEE ='NEED_ACTION_ATTENDEE'

IS_SAVED_ATTENDEE

IS_SAVED_ATTENDEE ='IS_SAVED_ATTENDEE'

IS_LIST_ATTENDEE

IS_LIST_ATTENDEE ='IS_LIST_ATTENDEE'

IS_INDIVIDUELLE_ATTENDEE

IS_INDIVIDUELLE_ATTENDEE ='IS_INDIVIDUELLE_ATTENDEE'

IS_RESSOURCE_ATTENDEE

IS_RESSOURCE_ATTENDEE ='IS_RESSOURCE_ATTENDEE'

IS_EXTERNAL_ATTENDEE

IS_EXTERNAL_ATTENDEE ='IS_EXTERNAL_ATTENDEE'

UID_ATTENDEE

UID_ATTENDEE ='UID_ATTENDEE'

DELEGATED_FROM

DELEGATED_FROM ="DELEGATED_FROM"

DELEGATED_TO

DELEGATED_TO ="DELEGATED_TO"

ROLE

ROLE ="ROLE"

CHAIR

CHAIR ="CHAIR"

REQ_PARTICIPANT

REQ_PARTICIPANT ="REQ_PARTICIPANT"

OPT_PARTICIPANT

OPT_PARTICIPANT ="OPT_PARTICIPANT"

NON_PARTICIPANT

NON_PARTICIPANT ="NON_PARTICIPANT"

NAME

NAME ="NAME"

CUTYPE

CUTYPE ="CUTYPE"

NO_PRIORITY

NO_PRIORITY ="NO_PRIORITY"

VERY_HIGH

VERY_HIGH ="VERY_HIGH"

HIGH

HIGH ="HIGH"

NORMAL

NORMAL ="NORMAL"

LOW

LOW ="LOW"

VERY_LOW

VERY_LOW ="VERY_LOW"

TYPE_FILE

TYPE_FILE ='TYPE_FILE'

TYPE_FOLDER

TYPE_FOLDER ='TYPE_FOLDER'

COMPLETED

COMPLETED ="COMPLETED"

NOTCOMPLETED

NOTCOMPLETED ="NOTCOMPLETED"

DEFAULT_ATTACHMENTS_FOLDER

DEFAULT_ATTACHMENTS_FOLDER ="DEFAULT_ATTACHMENTS_FOLDER"

ATTACHMENTS_EVENT_FOLDER

ATTACHMENTS_EVENT_FOLDER ="ATTACHMENTS_EVENT_FOLDER"

ATTACHMENTS_CALENDAR_FOLDER

ATTACHMENTS_CALENDAR_FOLDER ="ATTACHMENTS_CALENDAR_FOLDER"

ATTACHMENTS_PATH

ATTACHMENTS_PATH ="ATTACHMENTS_PATH"

ATTACHMENT_DOWNLOAD_URL

ATTACHMENT_DOWNLOAD_URL ="ATTACHMENT_DOWNLOAD_URL"

DEFAULT_ATTACHMENT_CONTENTTYPE

DEFAULT_ATTACHMENT_CONTENTTYPE ="DEFAULT_ATTACHMENT_CONTENTTYPE"

ICS_ADD_TIMEZONE

ICS_ADD_TIMEZONE ='ICS_ADD_TIMEZONE'

REUSE_PREPARE_STATEMENT

REUSE_PREPARE_STATEMENT ='REUSE_PREPARE_STATEMENT'

SEL_ENABLED

SEL_ENABLED ='SEL_ENABLED'

SEL_MAX_ACQUIRE

SEL_MAX_ACQUIRE ='SEL_MAX_ACQUIRE'

SEL_NB_ESSAI

SEL_NB_ESSAI ='SEL_NB_ESSAI'

SEL_TEMPS_ATTENTE

SEL_TEMPS_ATTENTE ='SEL_TEMPS_ATTENTE'

SEL_FILE_NAME

SEL_FILE_NAME ='SEL_FILE_NAME'

USE_SHARED_INVITATION

USE_SHARED_INVITATION ='USE_SHARED_INVITATION'

SHARED_INVITATION_REPLACE_CHAR

SHARED_INVITATION_REPLACE_CHAR ='SHARED_INVITATION_REPLACE_CHAR'

SHARED_INVITATION_TEXT

SHARED_INVITATION_TEXT ='SHARED_INVITATION_TEXT'

ALWAYS_SHOW_EVENT_CREATOR

ALWAYS_SHOW_EVENT_CREATOR ='ALWAYS_SHOW_EVENT_CREATOR'

SHARED_EVENT_CREATOR

SHARED_EVENT_CREATOR ='SHARED_EVENT_CREATOR'

SHARED_EVENT_CREATOR_SELF

SHARED_EVENT_CREATOR_SELF ='SHARED_EVENT_CREATOR_SELF'

SHARED_EVENT_CREATION_DATE_FORMAT

SHARED_EVENT_CREATION_DATE_FORMAT ='SHARED_EVENT_CREATION_DATE_FORMAT'

LDAP_TYPE_INDIVIDUELLE

LDAP_TYPE_INDIVIDUELLE ='LDAP_TYPE_INDIVIDUELLE'

LDAP_TYPE_PARTAGEE

LDAP_TYPE_PARTAGEE ='LDAP_TYPE_PARTAGEE'

LDAP_TYPE_FONCTIONNELLE

LDAP_TYPE_FONCTIONNELLE ='LDAP_TYPE_FONCTIONNELLE'

LDAP_TYPE_RESSOURCE

LDAP_TYPE_RESSOURCE ='LDAP_TYPE_RESSOURCE'

LDAP_TYPE_UNITE

LDAP_TYPE_UNITE ='LDAP_TYPE_UNITE'

LDAP_TYPE_SERVICE

LDAP_TYPE_SERVICE ='LDAP_TYPE_SERVICE'

LDAP_TYPE_APPLICATIVE

LDAP_TYPE_APPLICATIVE ='LDAP_TYPE_APPLICATIVE'

LDAP_TYPE_PERSONNE

LDAP_TYPE_PERSONNE ='LDAP_TYPE_PERSONNE'

LDAP_TYPE_LIST

LDAP_TYPE_LIST ='LDAP_TYPE_LIST'

LDAP_TYPE_LISTAB

LDAP_TYPE_LISTAB ='LDAP_TYPE_LISTAB'

NEED_ACTION_ENABLE

NEED_ACTION_ENABLE ='NEED_ACTION_ENABLE'

NEED_ACTION_ENABLE_FILTER

NEED_ACTION_ENABLE_FILTER ='NEED_ACTION_ENABLE_FILTER'

NEED_ACTION_DISABLE_FILTER

NEED_ACTION_DISABLE_FILTER ='NEED_ACTION_DISABLE_FILTER'

USE_SQL_FUNCTIONS_INSTEAD_OF_QUERIES

USE_SQL_FUNCTIONS_INSTEAD_OF_QUERIES ='USE_SQL_FUNCTIONS_INSTEAD_OF_QUERIES'

SENDERS

SENDERS ='SENDERS'

DEBUG

DEBUG ='DEBUG'

Methods

get()

get(string  $name,string  $defaultValue = null,string  $configName = 'ConfigMelanie'): mixed

Function permettant de récuper une valeur de configuration Commencer par tester si la valeur est définie par le serveur, et si non retourne celle par défaut

Parameters

string $name

Nom de constante à utiliser

string $defaultValue

Valeur par défaut si la valeur n'est pas positionnée

string $configName

Nom de la configuration à utiliser

Returns

mixed —

Valeur de configuration

is_set()

is_set(string  $name,string  $configName = 'ConfigMelanie'): boolean

Function permettant de déterminer si une valeur de configuration est positionnée Commencer par tester si la valeur est définie par le serveur, et si non retourne celle par défaut

Parameters

string $name

Nom de constante à utiliser

string $configName

Nom de la configuration à utiliser

Returns

boolean —

true si la valeur est postionnée, false sinon