PHP Класс Infusionsoft_WebFormService, infusionsoft-php-sdk

Наследование: extends Infusionsoft_WebFormServiceBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 )

Описание методов

getHTML() публичный статический Метод

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
Результат string Full HTML for the web form.

getHostedURL() публичный статический Метод

Instead of having to use the HTML code, you can get the URL to the Infusionsoft hosted version of the web form.
Автор: 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
Результат string URL of hosted web form

getHostedUrlFromHtml() публичный статический Метод

public static getHostedUrlFromHtml ( $html, Infusionsoft_App $app = null ) : string
$html
$app Infusionsoft_App
Результат string

getJavaScript() публичный статический Метод

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.
Автор: 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
Результат string JavaScript snippet for the web form.

getMap() публичный статический Метод

Get a list of all web form names and IDs.
public static getMap ( Infusionsoft_App $app = null ) : array
$app Infusionsoft_App
Результат array List of web form names and IDs.

ping() публичный статический Метод

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