Class Interfax
Interfax service for sending faxes
Copyright: Copyright (c) 2011, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/delivery/interfax/interfax.php
Methods summary
public
|
|
public
|
#
setAccount( string $username, string $password )
Sets the username and password for the Interfax account to send faxes from |
public
|
|
public
|
#
setContacts( mixed $contacts )
Sets the contact names associated with a fax number. Fax numbers and contact names must maintain order. |
public
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
|
#
setSubject( string $subject )
Sets the subject of this fax, viewable in the Interfax account under Outpbound Queue |
public
|
|
public
|
|
public
|
|
public
|
#
setSendTime( string $time )
Sets the date and time at which Interfax should dispatch the fax. Dates in the past will be sent immediately |
public
|
#
setPageSize( string $page_size )
Sets the page size of documents sent to Interfax. This applies to all files |
public
|
#
setPageOrientation( string $orientation )
Sets the page orientation of documents sent to Interfax. This applies to all files |
public
|
|
private
|
#
delimitValues( array $field, string $delimiter = ";" )
Creates a list of values separated by $delimiter |
public
|
|
private
boolean
|
#
parseResponse( string $response )
Parses the SOAP response from InterFax, sets any errors that may have been generated |
public
array
|
Magic methods summary
Properties summary
private static
string
|
$url |
#
The URL to submit requests to |
private
string
|
$username |
#
The account user name |
private
string
|
$password |
#
The account password |
private
array
|
$fax_numbers |
#
The fax numbers to send to |
private
array
|
$contacts |
#
The contact names to send to |
private
array
|
$files |
#
An array of bitstream data, file types, and file sizes representing each file to send |
private
array
|
$available_file_types |
#
An array of available file types accepted by Interfax |
private
array
|
$available_page_sizes |
#
An array of available page sizes accepted by Interfax |
private
array
|
$available_page_orientations |
#
An array of available page orientations |
private
string
|
$subject |
#
The subject displayed in the Outbound Queue in Interfax |
private
string
|
$resolution |
#
The quality of the resolution: 0 for standard, 1 for fine |
private
string
|
$csid |
#
The caller ID that is displayed |
private
string
|
$email_confirmation |
#
A single email address to send a confirmation to |
private
string
|
$postpone_time |
#
The atomic datetime to send the fax. A time in the past sends immediately |
private
string
|
$page_size |
#
The page size of the documents sent |
private
string
|
$page_orientation |
#
The page orientation of the documents |
private
|
$ArrayHelper |
#
The data structure array helper object |