本文整理汇总了PHP中Sites::putSitesGroups方法的典型用法代码示例。如果您正苦于以下问题:PHP Sites::putSitesGroups方法的具体用法?PHP Sites::putSitesGroups怎么用?PHP Sites::putSitesGroups使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Sites
的用法示例。
在下文中一共展示了Sites::putSitesGroups方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
echo $metaRequest->getMetaData('PersistedData');
// PARSE
$r = $docRequest->getDocIndexFields('3c7168e7-4b82-e511-bf04-008cfa482110');
$s = $docRequest->getDocIndexFieldsId('3c7168e7-4b82-e511-bf04-008cfa482110', '6684bdbe-4f82-e511-bf04-008cfa482110');
echo $parseRequest->parseResponse($r, 'label');
$a = $parseRequest->parseListResponse($r, 'label', '5');
// PERSISTED DATA
echo $pdataRequest->deletePdata('7832c856-7467-4356-a56e-968f9db56f48');
echo $pdataRequest->getPdata();
echo $pdataRequest->getPdataId('17bd31bb-6cd6-43b0-be65-55e2002d91a6');
echo $pdataRequest->postPdata('phpPDATA4', 1, "{\"DataField2\":\"claro que si\",\"DataField4\":\"oh no no no\"}", 'text/JSON', '', 0, null);
echo $pdataRequest->postFormPdata('9d4d2408-1183-e511-bf05-9c4e36b08790', 'c054e3bb-bd4c-4185-8d45-cf062d369a66', '6ccf5264-4f8d-e511-bf05-9c4e36b08790');
// SITES
echo $sitesRequest->getSites();
echo $sitesRequest->getSitesId('2e2fbf9c-1079-e511-bf01-a1bb68598c42');
echo $sitesRequest->getSitesGroups('2e2fbf9c-1079-e511-bf01-a1bb68598c42');
echo $sitesRequest->getSitesGroupsId('2e2fbf9c-1079-e511-bf01-a1bb68598c42', 'b9a66abf-2b83-e511-bf05-9c4e36b08790');
echo $sitesRequest->getSitesUsers('2e2fbf9c-1079-e511-bf01-a1bb68598c42');
echo $sitesRequest->getSitesUsersId('2e2fbf9c-1079-e511-bf01-a1bb68598c42', '8dd06446-1179-e511-bf01-a1bb68598c42');
echo $sitesRequest->postSites('phpFUN2', 'a new php site');
echo $sitesRequest->postSitesGroups('4d35d7ea-e383-e511-bf05-9c4e36b08790', 'phpFUN2 Group', 'a description');
echo $sitesRequest->postSitesUsers('4d35d7ea-e383-e511-bf05-9c4e36b08790', 'phpUser3', 'php', 'Name', 'php@aol.com', 'password');
echo $sitesRequest->putSites('4d35d7ea-e383-e511-bf05-9c4e36b08790', 'new Php Name 2', 'new description');
echo $sitesRequest->putSitesGroups('4d35d7ea-e383-e511-bf05-9c4e36b08790', '6aadfd0e-e483-e511-bf05-9c4e36b08790', 'new Php Group 3', 'new description 3');
echo $sitesRequest->putSitesUsers('4d35d7ea-e383-e511-bf05-9c4e36b08790', 'd998fc72-e583-e511-bf05-9c4e36b08790', 'new php 3', 'new Name 3', 'NEW3php@aol.com');
// USERS
echo $usersRequest->getUsers();
echo $usersRequest->getUsersId('5eefec33-ca71-e511-befe-98991b71acc0');
echo $usersRequest->getUsersToken('5eefec33-ca71-e511-befe-98991b71acc0');
echo $usersRequest->postUsers('4d35d7ea-e383-e511-bf05-9c4e36b08790', 'userUser2', 'first', 'last', 'dot2@aol.com', 'pass');
echo $usersRequest->putUsers('7eb29bd0-ef83-e511-bf05-9c4e36b08790', 'new first 2', 'new last', 'NEWdot3@aol.com');