ICanBoogie/ActiveRecord 3.0.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • ActiveRecord
      • ActiveRecordCache
      • Driver
      • Property
      • Validate
        • Reader
        • Validator
        • ValidatorProvider

Classes

  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • HasManyRelation
  • Helpers
  • Model
  • ModelCollection
  • 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

Functions

  • extract_charset_and_collate
  • get_model

Class RecordNotValid

Exception thrown when the validation of a record failed.

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

Methods summary

protected ICanBoogie\ActiveRecord
# get_record( )

Returns

ICanBoogie\ActiveRecord
protected ICanBoogie\Validate\ValidationErrors
# get_errors( )

Returns

ICanBoogie\Validate\ValidationErrors
public
# __construct( ICanBoogie\ActiveRecord $record, ICanBoogie\Validate\ValidationErrors $errors, ICanBoogie\ActiveRecord\Exception $previous = null )

Parameters

$record
$errors
$previous

Overrides

Exception::__construct
protected string
# format_message( ICanBoogie\Validate\ValidationErrors $errors )

Formats exception message.

Formats exception message.

Parameters

$errors

Returns

string

Methods inherited from Exception

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

Constants summary

string DEFAULT_MESSAGE
# "The record is not valid."

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only ICanBoogie\ActiveRecord $record
public read-only ICanBoogie\Validate\ValidationErrors $errors
ICanBoogie/ActiveRecord 3.0.x API documentation generated by ApiGen