-
Notifications
You must be signed in to change notification settings - Fork 0
Initialisation options
sweiguny edited this page Nov 21, 2014
·
1 revision
PPA
has a few options for configuring your connection. Except from the options below, there are also options for logging. Each option has a default value which will take effect if nothing was set by you. The options can be passed as an array with key-value-pairs.
Example:
\PPA\PPA::init($dataSourceName, $username, $password, array(
\PPA\PPA::OPTION_LOG_RETRIEVES => true,
\PPA\PPA::OPTION_DEFAULT_CASCADE_TYPE => 'all'
));
This option defines the default value for all cascade parameters of relation annotations, that weren't explicitly set.
Default: 'none'