apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: Payment_Process2_Driver

Source Location: /Payment_Process2-0.3.1/Payment/Process2/Driver.php

Class Overview


A driver interface


Methods


Inherited Variables

Inherited Methods


Class Details

[line 5]
A driver interface


[ Top ]


Method Detail

__construct (Constructor)   [line 12]

Payment_Process2_Driver __construct( [ $options = array()], [HTTP_Request2 $request = null])

Class constructor

Initializes the driver's default state

  • Access: public

Parameters:

   $options   — 
HTTP_Request2   $request   — 

[ Top ]

getStatus   [line 25]

void getStatus( )

  • Access: public

[ Top ]

prepareRequestData   [line 34]

mixed[] prepareRequestData( )

Create a hash suitable for use with HTTP_Request2::addPostParameter();

array('key' => 'value')

  • Access: public

[ Top ]

process   [line 24]

void process( )

  • Access: public

[ Top ]

translateAction   [line 22]

string|false translateAction( string $action)

Translates an action into a localised string
  • Return: Returns false when it cannot translate
  • Access: public

Parameters:

string   $action   —  One of the Payment_Process2::ACTION_* constants

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.