ICanBoogie/ActiveRecord master
  • Namespace
  • Class

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

Functions

  • extract_charset_and_collate
  • get_model

Class ConnectionOptions

Connection options.

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

Methods summary

public static array
# normalize( array $options )

Normalizes options.

Normalizes options.

Parameters

$options

Returns

array

Constants summary

string DEFAULT_CHARSET

Default charset.

Default charset.

# 'utf8'
string DEFAULT_COLLATE

Default collate.

Default collate.

# 'utf8_general_ci'
string DEFAULT_CHARSET_AND_COLLATE

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

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

# "utf8/general_ci"
string DEFAULT_TABLE_NAME_PREFIX

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

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

# ''
string DEFAULT_TIMEZONE

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

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

# '+00:00'
string ID

Connection identifier.

Connection identifier.

# '#id'
string CHARSET_AND_COLLATE

Charset and collate.

Charset and collate.

Default: ICanBoogie\ActiveRecord\ConnectionOptions::DEFAULT_CHARSET_AND_COLLATE.

# '#charset_and_collate'
string TABLE_NAME_PREFIX

Table name prefix.

Table name prefix.

# '#table_name_prefix'
string TIMEZONE

Time zone offset used for the connection.

Time zone offset used for the connection.

Default: ICanBoogie\ActiveRecord\ConnectionOptions::DEFAULT_TIMEZONE.

# '#timezone'
ICanBoogie/ActiveRecord master API documentation generated by ApiGen