[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/admin/includes/ -> fedexdc.php (summary)

(no description)

File Size: 591 lines (20 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FedExDC:: (24 methods):
  FedExDC()
  debug()
  getError()
  setError()
  getmicrotime()
  setData()
  _splitData()
  label()
  transaction()
  _sendCurl()
  close_ground()
  cancel_express()
  ship_express()
  global_rate_express()
  service_avail()
  rate_services()
  fedex_locater()
  ship_ground()
  cancel_ground()
  subscribe()
  global_rate_ground()
  sig_proof_delivery()
  track()
  ref_track()


Class: FedExDC  - X-Ref

FedExDC($account='', $meter='', $params = array()   X-Ref
constructor: loads account# and meter#

param: int $account FedEx Account number
param: int $meter FedEx meter number
param: array $params Associative array of parameters listed:

debug($string)   X-Ref
Sets debug information

param: string $string debug data

getError()   X-Ref
returns error string if present

return: boolean string

setError($str)   X-Ref
sets error string

param: string $str

getmicrotime()   X-Ref
microtime

return: float

setData($uti, $vals)   X-Ref
creates FedEx buffer string

param: int $uti FedEx transaction UTI
param: array $vals values to send to FedEx
return: string

_splitData()   X-Ref
parses FedEx return string into assoc array

return: array FedEx return values

label($label_file=false)   X-Ref
decode binary label data

param: string $label_file file to save label on disk
return: mixed

transaction($buf=false)   X-Ref
prepares and sends request to FedEx API

param: string $buf pre-formatted FedEx buffer
return: mixed

_sendCurl()   X-Ref
sends a request to FedEx using cUrl

return: string

close_ground($aData)   X-Ref
No description

cancel_express($aData)   X-Ref
cancel an express shipment

param: $aData array values to send to FedEx
return: string

ship_express($aData)   X-Ref
send an express shipment

param: $aData array values to send to FedEx
return: string

global_rate_express($aData)   X-Ref
global rate available services

param: $aData array values to send to FedEx
return: string

service_avail($aData)   X-Ref
FedEx service availability

param: $aData array values to send to FedEx
return: string

rate_services($aData)   X-Ref
rate all available services

param: $aData array values to send to FedEx
return: string

fedex_locater($aData)   X-Ref
Locate FedEx services

param: $aData array values to send to FedEx
return: string

ship_ground($aData)   X-Ref
send a ground shipment

param: $aData array values to send to FedEx
return: string

cancel_ground($aData)   X-Ref
cancel ground shipments

param: $aData array values to send to FedEx
return: string

subscribe($aData)   X-Ref
Subscribe to FedEx API

param: $aData array values to send to FedEx
return: string

global_rate_ground($aData)   X-Ref
global rate available services

param: $aData array values to send to FedEx
return: string

sig_proof_delivery($aData)   X-Ref
Signature Proof of Delivery

param: $aData array values to send to FedEx
return: string

track($aData)   X-Ref
Track a shipment by tracking number

param: $aData array values to send to FedEx
return: string

ref_track($aData)   X-Ref
Track By Number, Destination, Ship Date, and Reference

param: $aData array values to send to FedEx
return: string



Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7