ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord 3.0.x
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

Class Helpers

Patchable helpers of the ActiveRecord package.

Namespace: ICanBoogie\ActiveRecord
Located at ActiveRecord/Helpers.php

Methods summary

public static __callStatic( string $name, array $arguments ) : mixed

Calls the callback of a patchable function.

Calls the callback of a patchable function.

Parameters

$name
Name of the function.
$arguments
Arguments.

Returns

mixed
public static patch( string $name, callable $callback )

Patches a patchable function.

Patches a patchable function.

Parameters

$name
Name of the function.
$callback
Callback.

Throws

RuntimeException
is attempt to patch an undefined function.
protected static default_get_model( void )

Throws

LogicException

Magic methods summary

public static get_model( string $id ) : ICanBoogie\ActiveRecord\Model

Returns the model with the corresponding identifier.

Returns the model with the corresponding identifier.

Parameters

$id

Returns

ICanBoogie\ActiveRecord\Model
ActiveRecord 3.0.x – Check on GitHub – API documentation generated by ApiGen