\Horde_Core_Factory_Ajax

A Horde_Injector:: based Horde_Core_Ajax_Application:: factory.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
__construct()
create()
No public properties found
No constants found
_getDriverName()
$_injector
N/A
No private methods found
No private properties found
N/A

Properties

$_injector

$_injector : \Horde_Injector

The injector.

Type

\Horde_Injector

Methods

__construct()

__construct(\Horde_Injector  $injector) 

Constructor.

Parameters

\Horde_Injector $injector

The injector to use.

create()

create(string  $app, \Horde_Variables  $vars, string  $action = null, string  $token = null) : \Horde_Core_Ajax_Application

Return a Horde_Core_Ajax_Application instance.

Parameters

string $app

The application name.

\Horde_Variables $vars

Form/request data.

string $action

The AJAX action to perform.

string $token

Session token.

Throws

\Horde_Exception

Returns

\Horde_Core_Ajax_Application

The requested instance.

_getDriverName()

_getDriverName(string  $driver, string  $base) : string

Return the classname of the driver to load.

Parameters

string $driver

Driver name.

string $base

The base classname.

Throws

\Horde_Exception

Returns

string —

Classname.