Documentation

Ingo_Session
in package

Initialize session data for Ingo.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/apache ASL

Table of Contents

create()  : mixed
Create an ingo session.
_getBackend()  : array<string|int, mixed>
Determine the backend to use.

Methods

create()

Create an ingo session.

public static create() : mixed

Session entries:

  - backend: (array) The backend configuration to use.
  - change: (integer) The timestamp of the last time the rules were
            altered.
  - personal_share: (string) Personal share signature.
  - storage: (array) Used by Ingo_Storage for caching data.
  - script_categories: (array) The list of available categories for the
                       Ingo_Script driver in use.
Tags
throws
Ingo_Exception
Return values
mixed

_getBackend()

Determine the backend to use.

protected static _getBackend() : array<string|int, mixed>

This decision is based on the global 'SERVER_NAME' and 'HTTP_HOST' server variables and the contents of the 'preferred' either field in the backend's definition. The 'preferred' field may take a single value or an array of multiple values.

Tags
throws
Ingo_Exception
Return values
array<string|int, mixed>

The backend entry.

Search results