getApiKeys()
getApiKeys() : array<int,array<int|string,array|bool|int|string>>
Return an associative array of API keys associated with the Reporting Cloud account
Trait GetTrait
proofingCheck(string $text, string $language) : array<int|string,array|bool|int|string>
Check a corpus of text for spelling errors.
Return an array of misspelled words, if spelling errors are found in the corpus of text.
Return an empty array, if no misspelled words are found in the corpus of text.
string | $text | Corpus of text that should be spell checked |
string | $language | Language of specified text |
getProofingSuggestions(string $word, string $language, int $max = 10) : array<int,string>
Return an array of suggestions for a misspelled word
string | $word | Word that should be spell checked |
string | $language | Language of specified text |
int | $max | Maximum number of suggestions to return |
getTemplateInfo(string $templateName) : array<int|string,array|bool|int|string>
Return an array of merge blocks and merge fields in a template file in template storage
string | $templateName | Template name |
getTemplateThumbnails(string $templateName, int $zoomFactor, int $fromPage, int $toPage, string $imageFormat) : array<int,string>
Generate a thumbnail image per page of specified template in template storage.
Return an array of binary data with each record containing one thumbnail.
string | $templateName | Template name |
int | $zoomFactor | Zoom factor |
int | $fromPage | From page |
int | $toPage | To page |
string | $imageFormat | Image format |
request(string $method, string $uri, array $options) : \Psr\Http\Message\ResponseInterface
Request the URI with options
string | $method | HTTP method |
string | $uri | URI |
array | $options | Options |
buildPropertyMapArray(array $array, \TxTextControl\ReportingCloud\PropertyMap\AbstractPropertyMap $propertyMap) : array
Using the passed propertyMap, recursively build array
array | $array | Array |
\TxTextControl\ReportingCloud\PropertyMap\AbstractPropertyMap | $propertyMap | PropertyMap |