## Class HumanMultipleSend

Description

Classe responsavel por manipular envio de mensagens multiplas para o gateway

- author: Tiago
- version: 1.0
- since: 05/05/2011

Located in /human_gateway_client_api/service/HumanMultipleSend.php (line 10)

    HumanBaseService
       |
       --HumanMultipleSend

Class Constant Summary
CALLBACK_FINAL_STATUS = 1
CALLBACK_INACTIVE = 0
CALLBACK_INTERMEDIARY_STATUS = 2
TYPE_A = 'A'
TYPE_B = 'B'
TYPE_C = 'C'
TYPE_D = 'D'
TYPE_E = 'E'
Method Summary
string sendMultipleFileCSV (char $type, string $pathToFile, [integer $callbackOption = self::CALLBACK_INACTIVE])
string sendMultipleList (char $type, string $msgList, [integer $callbackOption = self::CALLBACK_INACTIVE])
HumanMultipleSend __construct ( $account, $password)
Methods
sendMultipleFileCSV (line 84)

Funcao para enviar parametros por HTTP/POST utilizando um arquivo .csv local.

- access: public

string sendMultipleFileCSV (char $type, string $pathToFile, [integer $callbackOption = self::CALLBACK_INACTIVE])

- char $type
- string $pathToFile
- integer $callbackOption: (0, 1, 2)

sendMultipleList (line 104)

Função para enviar parametros por HTTP/POST utilizando um list.

- access: public

string sendMultipleList (char $type, string $msgList, [integer $callbackOption = self::CALLBACK_INACTIVE])

- char $type
- string $msgList
- integer $callbackOption: (0, 1, 2)

Constructor __construct (line 70)

- access: public

HumanMultipleSend __construct ( $account, $password)

- $account
- $password

Redefinition of:

HumanBaseService::__construct()

#### Inherited Methods

Inherited From HumanBaseService

> HumanBaseService::__construct()
> HumanBaseService::getAccount()
> HumanBaseService::getHost()
> HumanBaseService::getPassword()
> HumanBaseService::getUri()
> HumanBaseService::send()
> HumanBaseService::setHost()
> HumanBaseService::setUri()

Class Constants
CALLBACK_FINAL_STATUS = 1 (line 62)

Retorno do callback, somente retorno de status final da mensagem

CALLBACK_INACTIVE = 0 (line 56)

Retorno do callback, retorno inativo

CALLBACK_INTERMEDIARY_STATUS = 2 (line 68)

Retorno do callback, retorno de status intermediário e final da mensagem

TYPE_A = 'A' (line 18)

Layout de lista ou arquivo tipo "A": to;msg

TYPE_B = 'B' (line 26)

Layout de lista ou arquivo tipo "B": to;msg;from

TYPE_C = 'C' (line 34)

Layout de lista ou arquivo tipo "C": to;msg;id

TYPE_D = 'D' (line 42)

Layout de lista ou arquivo tipo "D": to;msg;id;from

TYPE_E = 'E' (line 50)

Layout de lista ou arquivo tipo "E": to;msg;id;from;schedule

#### Inherited Constants

Inherited from HumanBaseService

> HumanBaseService::URI_SEND

Documentation generated on Mon, 16 May 2011 16:25:40 +0200 by phpDocumentor 1.4.3