ICanBoogie/ActiveRecord v2.2.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • ActiveRecord

Classes

  • ActiveRecordCacheBase
  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • DateTimePropertySupport
  • HasManyRelation
  • Helpers
  • Model
  • ModelCollection
  • Query
  • Relation
  • RelationCollection
  • RelationNotDefined
  • RunTimeActiveRecordCache
  • Statement
  • Table

Interfaces

  • ActiveRecordCache
  • Exception

Traits

  • CreatedAtProperty
  • DateTimeProperty
  • UpdatedAtProperty

Exceptions

  • ActiveRecordClassNotValid
  • ConnectionAlreadyEstablished
  • ConnectionNotDefined
  • ConnectionNotEstablished
  • ModelAlreadyInstantiated
  • ModelNotDefined
  • RecordNotFound
  • ScopeNotDefined
  • StatementNotValid
  • UnableToSetFetchMode

Functions

  • extract_charset_and_collate
  • get_model

Class ScopeNotDefined

Exception thrown in attempt to obtain a scope that is not defined.

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

Methods summary

protected
# get_scope_name( )
protected
# get_model( )
public
# __construct( string $scope_name, ICanBoogie\ActiveRecord\Model $model, integer $code = 500, ICanBoogie\ActiveRecord\Exception $previous = null )

Initializes the $scope_name and $model properties.

Initializes the $scope_name and $model properties.

Parameters

$scope_name
Name of the scope.
$model
Model on which the scope was invoked.
$code
Default to 404.
$previous
Previous exception.

Overrides

Exception::__construct

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 $scope_name
public read-only ICanBoogie\ActiveRecord\Model $model
ICanBoogie/ActiveRecord v2.2.0 API documentation generated by ApiGen