ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord master
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

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 master – Check on GitHub – API documentation generated by ApiGen