PHP 클래스 Infusionsoft_WebFormService, infusionsoft-php-sdk

상속: extends Infusionsoft_WebFormServiceBase
파일 보기 프로젝트 열기: novaksolutions/infusionsoft-php-sdk 1 사용 예제들

공개 메소드들

메소드 설명
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