Свойство | Тип | Описание | |
---|---|---|---|
$_attributes | Hylax_SQL_Attributes | ||
$_db | DB | Handle for the database connection. |
Метод | Описание | |
---|---|---|
Hylax_Storage_sql ( $params ) | ||
_createFax ( &$info ) | ||
_getFolder ( $folder, $path = null ) | ||
_getMessages ( ) : mixed | Gets all the messages for the current user. | |
_getSends ( $message_ids ) : mixed | Fetches all sends for one or more message ids. | |
_listFaxes ( $folder ) | ||
_setFaxNumber ( $fax_id, $number ) | ||
_setJobId ( $fax_id, $job_id ) | ||
deleteGateway ( integer $gateway_id ) : mixed | Deletes a gateway from the backend. | |
getFax ( $fax_id ) | ||
getFaxFolder ( $fax_id ) | ||
getGateway ( integer $gateway_id ) : array | Fetches a gateway from the backend. | |
getGateways ( ) : array | Fetches a list of available gateways. | |
initialise ( ) | ||
newFaxId ( ) | ||
saveGateway ( array &$info ) : mixed | Saves a gateway to the backend. | |
saveMessage ( integer $gateway_id, string $message_text, string $message_params, string $message_batch_id = null ) : mixed | Saves a message to the backend. | |
saveSend ( integer $message_id, string $remote_id, string $recipient, string $error ) : mixed | Saves an individual send to the backend. This will be one instance of a message being sent to a recipient. |
public _getMessages ( ) : mixed | ||
Результат | mixed | The array of messages on success or PEAR Error on failure. |
public deleteGateway ( integer $gateway_id ) : mixed | ||
$gateway_id | integer | The gateway id of the gateway to delete. |
Результат | mixed | True on success or a PEAR error on failure. |
public getGateway ( integer $gateway_id ) : array | ||
$gateway_id | integer | The gateway id to fetch. |
Результат | array | An array containing the gateway settings and parameters. |
public getGateways ( ) : array | ||
Результат | array | An array of the available gateways. |
public saveGateway ( array &$info ) : mixed | ||
$info | array | The gateway settings to be saved passed by reference as an array. |
Результат | mixed | Gateway id on success or a PEAR error on failure. |
public saveMessage ( integer $gateway_id, string $message_text, string $message_params, string $message_batch_id = null ) : mixed | ||
$gateway_id | integer | The id of the gateway used to send this message. |
$message_text | string | The text of the message. |
$message_params | string | Any send params used for this message. |
$message_batch_id | string | If batch sending is used, the batch id of this message. |
Результат | mixed | True on success or PEAR Error on failure. |
public saveSend ( integer $message_id, string $remote_id, string $recipient, string $error ) : mixed | ||
$message_id | integer | The message id. |
$remote_id | string | The text of the message. |
$recipient | string | Any send params used for this |
$error | string | Any send params used for this |
Результат | mixed | The send id on success or PEAR Error on failure. |
public Hylax_SQL_Attributes $_attributes | ||
Результат | Hylax_SQL_Attributes |