ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord 4.0.x
Namespaces
  • ICanBoogie
    • ActiveRecord
      • ActiveRecordCache
      • Driver
      • Property
      • Validate
        • Reader
        • Validator
        • ValidatorProvider
Classes
  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • HasManyRelation
  • Model
  • ModelCollection
  • ModelProvider
  • Query
  • Relation
  • RelationCollection
  • RelationNotDefined
  • Schema
  • SchemaColumn
  • Statement
  • Table
Interfaces
  • ActiveRecordCache
  • Driver
  • Exception
Exceptions
  • ActiveRecordClassNotValid
  • ConnectionAlreadyEstablished
  • ConnectionNotDefined
  • ConnectionNotEstablished
  • DriverNotDefined
  • ModelAlreadyInstantiated
  • ModelNotDefined
  • RecordNotFound
  • RecordNotValid
  • 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 4.0.x – Check on GitHub – API documentation generated by ApiGen