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 RelationNotDefined

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

ICanBoogie\OffsetNotDefined
┗ ICanBoogie\ActiveRecord\RelationNotDefined implements ICanBoogie\ActiveRecord\Exception uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\ActiveRecord
Located at ActiveRecord/RelationNotDefined.php

Methods summary

protected get_relation_name( void )
protected get_collection( void )
public __construct( string $relation_name, ICanBoogie\ActiveRecord\RelationCollection $collection, integer $code = 500, ICanBoogie\ActiveRecord\Exception $previous = null )

Parameters

$relation_name
$collection
$code
$previous

Properties summary

Magic properties

public read-only $relation_name : string

Name of the undefined relation.

public read-only $collection : ICanBoogie\ActiveRecord\RelationCollection

Relation collection.

ActiveRecord 4.0.x – Check on GitHub – API documentation generated by ApiGen