mediatekformation

OracleSessionInit
in package
implements EventSubscriber

Should be used when Oracle Server default environment does not match the Doctrine requirements.

The following environment variables are required for the Doctrine default date format:

NLS_TIME_FORMAT="HH24:MI:SS" NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS" NLS_TIMESTAMP_FORMAT="YYYY-MM-DD HH24:MI:SS" NLS_TIMESTAMP_TZ_FORMAT="YYYY-MM-DD HH24:MI:SS TZH:TZM"

Interfaces, Classes, Traits and Enums

EventSubscriber
An EventSubscriber knows himself what events he is interested in.

Table of Contents

$_defaultSessionVars  : array<string|int, string>
__construct()  : mixed
getSubscribedEvents()  : array<string|int, string>
Returns an array of events this subscriber wants to listen to.
postConnect()  : void

Properties

$_defaultSessionVars

protected array<string|int, string> $_defaultSessionVars = ['NLS_TIME_FORMAT' => 'HH24:MI:SS', 'NLS_DATE_FORMAT' => 'YYYY-MM-DD HH24:MI:SS', 'NLS_TIMESTAMP_FORMAT' => 'YYYY-MM-DD HH24:MI:SS', 'NLS_TIMESTAMP_TZ_FORMAT' => 'YYYY-MM-DD HH24:MI:SS TZH:TZM', 'NLS_NUMERIC_CHARACTERS' => '.,']

Methods

__construct()

public __construct([array<string|int, string> $oracleSessionVars = [] ]) : mixed
Parameters
$oracleSessionVars : array<string|int, string> = []
Return values
mixed

getSubscribedEvents()

Returns an array of events this subscriber wants to listen to.

public getSubscribedEvents() : array<string|int, string>
Return values
array<string|int, string>

Search results