PHP Class Infusionsoft_WebFormService, infusionsoft-php-sdk

Inheritance: extends Infusionsoft_WebFormServiceBase
Afficher le fichier Open project: novaksolutions/infusionsoft-php-sdk Class Usage Examples

Méthodes publiques

Méthode Description
getHTML ( integer $webFormId, Infusionsoft_App $app = null ) : string Get the web form's full HTML.
getHostedURL ( integer $webFormId, Infusionsoft_App $app = null ) : string Get the web form's hosted URL.
getHostedUrlFromHtml ( $html, Infusionsoft_App $app = null ) : string
getJavaScript ( integer $webFormId, Infusionsoft_App $app = null ) : string Get the web form's JavaScript snippet.
getMap ( Infusionsoft_App $app = null ) : array Get a list of all web form names and IDs.
ping ( $serviceName = 'WebFormService', Infusionsoft_App $app = null )

Method Details

getHTML() public static méthode

Get the full HTML for the specified web form ID. This includes all HTML tags and is meant to be used as a standalone webpage.
public static getHTML ( integer $webFormId, Infusionsoft_App $app = null ) : string
$webFormId integer The ID from Infusionsoft_WebFormService::getMap.
$app Infusionsoft_App
Résultat string Full HTML for the web form.

getHostedURL() public static méthode

Instead of having to use the HTML code, you can get the URL to the Infusionsoft hosted version of the web form.
Author: Jacob Allred ([email protected])
public static getHostedURL ( integer $webFormId, Infusionsoft_App $app = null ) : string
$webFormId integer The ID from Infusionsoft_WebFormService::getMap.
$app Infusionsoft_App
Résultat string URL of hosted web form

getHostedUrlFromHtml() public static méthode

public static getHostedUrlFromHtml ( $html, Infusionsoft_App $app = null ) : string
$html
$app Infusionsoft_App
Résultat string

getJavaScript() public static méthode

Instead of having to use the HTML code, you can get the JavaScript snippet. The web form displayed by the snippet will be updated automatically when it is updated in Infusionsoft.
Author: Jacob Allred ([email protected])
public static getJavaScript ( integer $webFormId, Infusionsoft_App $app = null ) : string
$webFormId integer The ID from Infusionsoft_WebFormService::getMap.
$app Infusionsoft_App
Résultat string JavaScript snippet for the web form.

getMap() public static méthode

Get a list of all web form names and IDs.
public static getMap ( Infusionsoft_App $app = null ) : array
$app Infusionsoft_App
Résultat array List of web form names and IDs.

ping() public static méthode

public static ping ( $serviceName = 'WebFormService', Infusionsoft_App $app = null )
$app Infusionsoft_App