PHP Class Ingo_Session, horde

Author: Michael Slusarz ([email protected])
显示文件 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
create ( ) Create an ingo session.

Protected Methods

Method Description
_getBackend ( ) : array Determine the backend to use.

Method Details

_getBackend() protected static method

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.
protected static _getBackend ( ) : array
return array The backend entry.

create() public static method

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.
public static create ( )