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

Class: Net_SMPP_Vendor

Source Location: /Net_SMPP-0.4.5/Net/SMPP/Vendor.php

Class Overview


Vendor support class


Author(s):

Version:

  • CVS: $Revision: 298434 $

Copyright:

  • (c) Copyright 2005 WebSprockets, LLC.

Variables

Methods


Child classes:

Net_SMPP_Vendor_MIG
MIG vendor support class
Net_SMPP_Vendor_mBlox
mBlox vendor support class
Net_SMPP_Vendor_Air2Web
Air2web vendor support class

Inherited Variables

Inherited Methods


Class Details

[line 42]
Vendor support class


[ Top ]


Class Variables

$_vdefs = array()

[line 53]

Vendor parameters

This variable is in the same format as Net_SMPP_Command::$_defs, but only contains the vendor PDU-specufic parameters.


Type:   array


[ Top ]



Method Detail

factory   [line 167]

object Vendor factory( string $vendor)

Get an instance of a vendor class
  • Return: instance
  • Since: Net_SMPP 0.4.0

Parameters:

string   $vendor   —  Vendor to get an instance of

[ Top ]

parsePDU   [line 236]

object Net_SMPP_Command_* &parsePDU( string $vendor, string $data)

Parse a binary PDU
  • Return: instance

Parameters:

string   $vendor   —  Vendor
string   $data   —  Raw (binary) PDU data

[ Top ]

PDU   [line 214]

mixed PDU( string $vendor, string $command, [ $args = array()])

Get an instance of a vendor PDU class

Parameters:

string   $vendor   —  Vendor
string   $command   —  Command class
   $args   — 

[ Top ]

PDUexists   [line 187]

boolean PDUexists( string $vendor, string $command)

Determine if there is a vendor PDU for a command
  • Return: true if there's a vendor command, false otherwise

Parameters:

string   $vendor   —  Vendor to check
string   $command   —  Command to check

[ Top ]

singleton   [line 148]

object Vendor &singleton( string $vendor)

Get a static instance of a vendor
  • Return: instance
  • Since: Net_SMPP 0.4.0

Parameters:

string   $vendor   —  Vendor to get an instance of

[ Top ]

_commandList   [line 64]

array &_commandList( )

Vendor commands

[ Top ]

_optionalParams   [line 78]

void &_optionalParams( )

Vendor optional parameters
  • Access: protected

Overridden in child classes as:

Net_SMPP_Vendor_MIG::_optionalParams()
MIG optional paramaters
Net_SMPP_Vendor_mBlox::_optionalParams()
mBlox optional paramaters
Net_SMPP_Vendor_Air2Web::_optionalParams()
mBlox optional paramaters

[ Top ]

_statusDescs   [line 92]

array &_statusDescs( )

Vendor status descriptions
  • Access: protected

Overridden in child classes as:

Net_SMPP_Vendor_mBlox::_statusDescs()
mBlox status descriptions
Net_SMPP_Vendor_Air2Web::_statusDescs()
mBlox status descriptions

[ Top ]

__load   [line 105]

void __load( string $vendor)

Load a vendor
  • Deprecated: Deprecated in Net_SMPP 0.4.0

Parameters:

string   $vendor   —  Vendor to load

[ Top ]


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