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 StatementNotValid

Exception thrown in attempt to execute a statement that is not valid.

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

Methods summary

protected get_statement( void )
protected get_args( void )
protected get_original( void )
public __construct( array|string $statement, integer $code = 500, PDOException $original = null )

Parameters

$statement
$code
$original

Overrides

Exception::__construct
protected format_message( string $statement, array $args, PDOException $original = null ) : string

Formats exception message.

Formats exception message.

Parameters

$statement
$args
$original

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 $statement : string

The invalid statement.

public read-only $args : array

The arguments of the statement.

public read-only $original : PDOException

The original exception.

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