本文整理匯總了PHP中Documents::putDocIndexFieldsId方法的典型用法代碼示例。如果您正苦於以下問題:PHP Documents::putDocIndexFieldsId方法的具體用法?PHP Documents::putDocIndexFieldsId怎麽用?PHP Documents::putDocIndexFieldsId使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Documents
的用法示例。
在下文中一共展示了Documents::putDocIndexFieldsId方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Parse
$parseRequest = new Parse();
$pdataRequest = new PersistedData();
$sitesRequest = new Sites();
$usersRequest = new Users();
// ------------------------- REQUESTS ---------------------------
// DOCUMENTS
echo $docRequest->deleteDoc('7a6a7f74-3b82-e511-bf04-008cfa482110');
echo $docRequest->getDoc('name%20eq%20%27test%20-2%20-%20test%27');
echo $docRequest->getDocId('e10f2106-8c72-e511-befe-98991b71acc0');
echo $docRequest->getDocIdRev('3c7168e7-4b82-e511-bf04-008cfa482110');
echo $docRequest->getDocIdRevId('e10f2106-8c72-e511-befe-98991b71acc0', 'b5d82c06-8c72-e511-befe-98991b71acc0');
echo $docRequest->getDocIndexFields('3c7168e7-4b82-e511-bf04-008cfa482110');
echo $docRequest->getDocIndexFieldsId('3c7168e7-4b82-e511-bf04-008cfa482110', '6684bdbe-4f82-e511-bf04-008cfa482110');
echo $docRequest->getDocRevIndexFields('3c7168e7-4b82-e511-bf04-008cfa482110', '8767a182-5282-e511-bf04-008cfa482110');
echo $docRequest->getDocRevIndexFieldsId('3c7168e7-4b82-e511-bf04-008cfa482110', '8767a182-5282-e511-bf04-008cfa482110', '6684bdbe-4f82-e511-bf04-008cfa482110');
echo $docRequest->putDocIndexFieldsId('3c7168e7-4b82-e511-bf04-008cfa482110', '9112ae85-b481-e511-bf03-008cfa482110', 'pizzas');
echo $docRequest->putDocIndexFields('3c7168e7-4b82-e511-bf04-008cfa482110', "{\"cool index field\":\"change you\",\"favorite foods\":\"mountain dew\"}");
echo $docRequest->postDoc('10000000-1000-2000-1111-100000000010', 1, 'file54.txt', 'a test file', 'file53.txt', '{}');
// EMAILS
echo $emailRequest->postEmails('example@gmail.com,example2@gmail.com', '', 'php email subject', 'this was sent from php. this is the body.');
// FILES
$filesRequest->getFile('6db0b14a-a781-e511-bf03-008cfa482110', '/home/jr/Desktop/hello2.txt');
$filesRequest->postFile('/home/jr/Desktop/hello2.txt', 'text/plain', 'helloWorld2.txt', '3c7168e7-4b82-e511-bf04-008cfa482110', 'GEN-15', '5', 'Released', "{\"index field label\":\"the value\"}");
// FOLDERS
echo $foldersRequest->getFolder('test%20folder');
echo $foldersRequest->getFolderId('10000000-1000-2000-1111-100000000010');
echo $foldersRequest->getSubFolders('10000000-1000-2000-1111-100000000010');
echo $foldersRequest->getFolderDocs('10000000-1000-2000-1111-100000000010');
echo $foldersRequest->getFolderIndexFields('40ac2b37-9a72-e511-befe-98991b71acc0');
echo $foldersRequest->getFolderIndexFieldsId('40ac2b37-9a72-e511-befe-98991b71acc0', '9febe65a-6d82-e511-bf04-008cfa482110');
echo $foldersRequest->getSelectOptions('40ac2b37-9a72-e511-befe-98991b71acc0', '9febe65a-6d82-e511-bf04-008cfa482110');