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 ConnectionAlreadyEstablished

Exception thrown in attempt to set the definition of an already established connection.

Exception implements Throwable
Extended by LogicException
Extended by ICanBoogie\ActiveRecord\ConnectionAlreadyEstablished implements ICanBoogie\ActiveRecord\Exception uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\ActiveRecord
Located at ActiveRecord/ConnectionAlreadyEstablished.php

Methods summary

protected string
# get_id( )

Returns

string
public
# __construct( string $id, integer $code = 500, ICanBoogie\ActiveRecord\Exception $previous = null )

Parameters

$id
$code
$previous

Overrides

Exception::__construct
protected string
# format_message( string $id )

Formats exception message.

Formats exception message.

Parameters

$id

Returns

string

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only string $id

The identifier of the connection.

ICanBoogie/ActiveRecord master API documentation generated by ApiGen