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

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

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

Метод Описание
addCustomField ( Infusionsoft_Generated_Base &$object, $displayName, $dataType, $groupId, Infusionsoft_App $app = null )
count ( $object, $queryData, Infusionsoft_App $app = null )
delete ( Infusionsoft_Generated_Base &$object, $id, Infusionsoft_App $app = null )
findByField ( $object, $field, $value, $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
getAppSetting ( $moduleName, $settingName, Infusionsoft_App $app = null )
getAppointmentICal ( $appointmentId, Infusionsoft_App $app = null )
getCustomFields ( $object, $app = null )
getUserData ( $app = null ) Returns User data of the OAuth2 authenticated User
load ( Infusionsoft_Generated_Base &$object, $id, $returnFields = false, Infusionsoft_App $app = null ) * This is in the DataService.java file, but not exposed.
ping ( $serviceName = 'DataService', Infusionsoft_App $app = null )
query ( $object, $queryData, $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
queryWithOrderBy ( $object, $queryData, $orderByField, $ascending = true, $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
save ( Infusionsoft_Generated_Base &$object, Infusionsoft_App $app = null )
search ( $object, $searchData, $queryData = [], $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
searchWithOrderBy ( $object, $orderByField, $searchData, $queryData = [], $ascending = true, $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
updateCustomField ( $customFieldId, $arrayOfValues, Infusionsoft_App $app = null )

Приватные методы

Метод Описание
makeQueryFromSearch ( $searchData, $queryData )

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

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

public static addCustomField ( Infusionsoft_Generated_Base &$object, $displayName, $dataType, $groupId, Infusionsoft_App $app = null )
$object Infusionsoft_Generated_Base
$app Infusionsoft_App

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

public static count ( $object, $queryData, Infusionsoft_App $app = null )
$app Infusionsoft_App

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

public static delete ( Infusionsoft_Generated_Base &$object, $id, Infusionsoft_App $app = null )
$object Infusionsoft_Generated_Base
$app Infusionsoft_App

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

public static findByField ( $object, $field, $value, $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
$app Infusionsoft_App

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

public static getAppSetting ( $moduleName, $settingName, Infusionsoft_App $app = null )
$app Infusionsoft_App

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

public static getAppointmentICal ( $appointmentId, Infusionsoft_App $app = null )
$app Infusionsoft_App

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

public static getCustomFields ( $object, $app = null )

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

Returns User data of the OAuth2 authenticated User
public static getUserData ( $app = null )

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

.. public static function getMetaData(Infusionsoft_Generated_Base &$object, Infusionsoft_App $app = null) { $app = parent::getObjectOrDefaultAppIfNull($app, $object); $params = array( $object->getTable()); $arrayOfFields = $app->send('DataService.getMetaData', $params); return $arrayOfFields; }
public static load ( Infusionsoft_Generated_Base &$object, $id, $returnFields = false, Infusionsoft_App $app = null )
$object Infusionsoft_Generated_Base
$app Infusionsoft_App

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

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

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

public static query ( $object, $queryData, $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
$app Infusionsoft_App

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

public static queryWithOrderBy ( $object, $queryData, $orderByField, $ascending = true, $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
$app Infusionsoft_App

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

public static save ( Infusionsoft_Generated_Base &$object, Infusionsoft_App $app = null )
$object Infusionsoft_Generated_Base
$app Infusionsoft_App

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

public static searchWithOrderBy ( $object, $orderByField, $searchData, $queryData = [], $ascending = true, $limit = 1000, $page, $returnFields = false, Infusionsoft_App $app = null )
$app Infusionsoft_App

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

public static updateCustomField ( $customFieldId, $arrayOfValues, Infusionsoft_App $app = null )
$app Infusionsoft_App