ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord v2.3.0
Namespaces
  • ICanBoogie
    • ActiveRecord
      • Driver
Classes
  • ActiveRecordCacheBase
  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • DateTimePropertySupport
  • HasManyRelation
  • Helpers
  • Model
  • ModelCollection
  • Query
  • Relation
  • RelationCollection
  • RelationNotDefined
  • RuntimeActiveRecordCache
  • Schema
  • SchemaColumn
  • Statement
  • Table
Interfaces
  • ActiveRecordCache
  • Driver
  • Exception
Traits
  • CreatedAtProperty
  • DateProperty
  • DateTimeProperty
  • FinishAtProperty
  • FinishedAtProperty
  • StartAtProperty
  • StartedAtProperty
  • UpdatedAtProperty
Exceptions
  • ActiveRecordClassNotValid
  • ConnectionAlreadyEstablished
  • ConnectionNotDefined
  • ConnectionNotEstablished
  • DriverNotDefined
  • ModelAlreadyInstantiated
  • ModelNotDefined
  • RecordNotFound
  • ScopeNotDefined
  • StatementInvocationFailed
  • StatementNotValid
  • UnableToSetFetchMode

Class ConnectionOptions

Connection options.

Final
Namespace: ICanBoogie\ActiveRecord
Package: ICanBoogie\ActiveRecord
Located at ActiveRecord/ConnectionOptions.php

Methods summary

public static normalize( array $options ) : array

Normalizes options.

Normalizes options.

Parameters

$options

Returns

array

Constants summary

DEFAULT_CHARSET : string

Default charset.

Default charset.

'utf8'
DEFAULT_COLLATE : string

Default collate.

Default collate.

'utf8_general_ci'
DEFAULT_CHARSET_AND_COLLATE : string

Default value for ICanBoogie\ActiveRecord\ConnectionOptions::CHARSET_AND_COLLATE.

Default value for ICanBoogie\ActiveRecord\ConnectionOptions::CHARSET_AND_COLLATE.

"utf8/general_ci"
DEFAULT_TABLE_NAME_PREFIX : string

Default value for ICanBoogie\ActiveRecord\ConnectionOptions::DEFAULT_TABLE_NAME_PREFIX.

Default value for ICanBoogie\ActiveRecord\ConnectionOptions::DEFAULT_TABLE_NAME_PREFIX.

''
DEFAULT_TIMEZONE : string

Default value for ICanBoogie\ActiveRecord\ConnectionOptions::TIMEZONE.

Default value for ICanBoogie\ActiveRecord\ConnectionOptions::TIMEZONE.

'+00:00'
ID : string

Connection identifier.

Connection identifier.

'#id'
CHARSET_AND_COLLATE : string

Charset and collate.

Charset and collate.

Default: ICanBoogie\ActiveRecord\ConnectionOptions::DEFAULT_CHARSET_AND_COLLATE.

'#charset_and_collate'
TABLE_NAME_PREFIX : string

Table name prefix.

Table name prefix.

'#table_name_prefix'
TIMEZONE : string

Time zone offset used for the connection.

Time zone offset used for the connection.

Default: ICanBoogie\ActiveRecord\ConnectionOptions::DEFAULT_TIMEZONE.

'#timezone'
ActiveRecord v2.3.0 – Check on GitHub – API documentation generated by ApiGen