Silla.IO API
  • Namespace
  • Class
  • Tree
  • Todo
  • Download

Namespaces

  • App
    • Controllers
  • CMS
    • Controllers
    • Helpers
    • Models
  • Configurations
    • CI
    • Development
    • Production
    • Staging
  • Core
    • Base
    • CLI
      • Cache
      • DB
    • Helpers
    • Modules
      • Cache
        • Adapters
        • Interfaces
      • Crypt
      • DB
        • Adapters
        • Decorators
          • Interfaces
        • Features
          • Paginator
        • Interfaces
      • Registry
      • Render
        • Adapters
        • Interfaces
      • Router
      • Session
        • Adapters
        • Interfaces
  • None
  • Tasks
    • DB

Interfaces

  • Adapter
  • Decorator
  • Observer

Interface Observer

Database observer interface definition.

Direct known implementers

Core\Modules\DB\Observer

Namespace: Core\Modules\DB\Interfaces
Located at modules/db/interfaces/observer.php

Methods summary

public static
# on( Core\Base\Model $object, string $event, string $callback )

Attach method.

Attach method.

Parameters

$object
Amended object.
$event
Event name.
$callback
Callback function name.
public static
# detach( Core\Base\Model $object, string $event, string $callback )

Detach method.

Detach method.

Parameters

$object
Amended object.
$event
Event name.
$callback
Callback function name.
public static
# fire( Core\Base\Model $object, string $event, array $arguments = array() )

Invocation method.

Invocation method.

Parameters

$object
Amended object.
$event
Event name.
$arguments
Additional arguments.
Silla.IO API API documentation generated by ApiGen