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

Classes

  • Attachment
  • Encryption
  • Formatting
  • Serialization
  • TimezoneAwareness

Class Serialization

Class Serialization Decorator Implementation definition.

Core\Modules\DB\Decorators\Serialization implements Core\Modules\DB\Interfaces\Decorator
Abstract
Namespace: Core\Modules\DB\Decorators
Located at modules/db/decorators/serialization.php

Methods summary

public static
# decorate( Core\Base\Model $resource )

Decorator entry point.

Decorator entry point.

Parameters

$resource
Currently processed resource.

Implementation of

Core\Modules\DB\Interfaces\Decorator::decorate()
public static
# init( Core\Modules\DB\Decorators\Interfaces\Serialization $resource )

Initialize serialization.

Initialize serialization.

Parameters

$resource
Currently processed resource.
public static
# unserialize( Core\Base\Model $resource )

Un-serializes the fields.

Un-serializes the fields.

Parameters

$resource
Currently processed resource.
public static
# serialize( Core\Base\Model $resource )

Serializes the fields.

Serializes the fields.

Parameters

$resource
Currently processed resource.

Properties summary

private static array $serializedFields

Fields to serialize.

Fields to serialize.

# array()
Silla.IO API API documentation generated by ApiGen