|
Moodle
2.2.1
http://www.collinsharper.com
|


Definition at line 37 of file MailMerge.php.
| __construct | ( | $ | options = null | ) |
Constructor (LiveDocx.MailMerge SOAP Service)
Reimplemented from Zend_Service_LiveDocx.
Definition at line 68 of file MailMerge.php.
| _backendListArrayToMultiAssocArray | ( | $ | list | ) | [protected] |
Convert LiveDocx service return value from list methods to consistent PHP array
| array | $list |
Definition at line 910 of file MailMerge.php.


| assign | ( | $ | field, |
| $ | value = null |
||
| ) |
Assign values to template fields
| array | string | $field | |
| array | string | $value |
| Zend_Service_LiveDocx_Exception |
Definition at line 222 of file MailMerge.php.

| static assocArrayToArrayOfArrayOfString | ( | $ | assoc | ) | [static] |
Convert assoc array to required SOAP type
| array | $assoc |
Definition at line 950 of file MailMerge.php.
| createDocument | ( | ) |
Merge assigned data with template to generate document
| Zend_Service_LiveDocx_Excpetion |
Definition at line 324 of file MailMerge.php.

| deleteSharedDocument | ( | $ | filename | ) |
Delete a shared document from LiveDocx service
| string | $filename |
Definition at line 740 of file MailMerge.php.

| deleteTemplate | ( | $ | filename | ) |
Delete a template file from LiveDocx service
| string | $filename |
| Zend_Service_LiveDocx_Exception |
Definition at line 644 of file MailMerge.php.

| downloadSharedDocument | ( | $ | filename | ) |
| downloadTemplate | ( | $ | filename | ) |
Download template file from LiveDocx service
| string | $filename |
| Zend_Service_LiveDocx_Exception |
Definition at line 618 of file MailMerge.php.

| getAllBitmaps | ( | $ | zoomFactor, |
| $ | format | ||
| ) |
Return graphical bitmap data for all pages of created document Return array contains bitmap data (binary) - array key is page number
| integer | $zoomFactor | |
| string | $format |
Definition at line 485 of file MailMerge.php.

| getAllMetafiles | ( | ) |
Return WMF (aka Windows metafile) data for pages of created document Return array contains WMF data (binary) - array key is page number
Definition at line 415 of file MailMerge.php.

| getBitmaps | ( | $ | fromPage, |
| $ | toPage, | ||
| $ | zoomFactor, | ||
| $ | format | ||
| ) |
Return graphical bitmap data for specified page range of created document Return array contains bitmap data (binary) - array key is page number
| integer | $fromPage | |
| integer | $toPage | |
| integer | $zoomFactor | |
| string | $format |
Definition at line 448 of file MailMerge.php.

| getBlockFieldNames | ( | $ | blockName | ) |
Return all the block fields in the template
| string | $blockName |
Definition at line 541 of file MailMerge.php.

| getBlockNames | ( | ) |
Return all the block fields in the template
Definition at line 567 of file MailMerge.php.

Return supported document access options
Definition at line 889 of file MailMerge.php.

Return supported document formats (lowercase)
Definition at line 827 of file MailMerge.php.

| getFieldNames | ( | ) |
Return all the fields in the template
Definition at line 516 of file MailMerge.php.

| getFontNames | ( | ) |
Return the names of all fonts that are installed on backend server
Definition at line 869 of file MailMerge.php.

| getImageFormats | ( | ) |
| getMetafiles | ( | $ | fromPage, |
| $ | toPage | ||
| ) |
Return WMF (aka Windows metafile) data for specified page range of created document Return array contains WMF data (binary) - array key is page number
| integer | $fromPage | |
| integer | $toPage |
Definition at line 383 of file MailMerge.php.

Return supported template formats (lowercase)
Definition at line 806 of file MailMerge.php.

List all shared documents stored on LiveDocx service
Definition at line 717 of file MailMerge.php.


| listTemplates | ( | ) |
List all templates stored on LiveDocx service
Definition at line 659 of file MailMerge.php.

| static multiAssocArrayToArrayOfArrayOfString | ( | $ | multi | ) | [static] |
Convert multi assoc array to required SOAP type
| array | $multi |
Definition at line 965 of file MailMerge.php.
| retrieveDocument | ( | $ | format | ) |
Retrieve document in specified format
| string | $format |
| Zend_Service_LiveDocx_Exception |
Definition at line 354 of file MailMerge.php.

| setBlockFieldValues | ( | $ | blockName, |
| $ | blockFieldValues | ||
| ) |
Set block field values
| string | $blockName | |
| array | $blockFieldValues |
| Zend_Service_LiveDocx_Exception |
Definition at line 194 of file MailMerge.php.


| setDocumentAccessPermissions | ( | $ | permissions, |
| $ | password | ||
| ) |
Set a master password for document and determine which security features are accessible without using the master password.
As default, nothing is allowed. To allow a security setting, explicatively set it using one of he DOCUMENT_ACCESS_PERMISSION_* class constants.
{code} $phpLiveDocx->setDocumentAccessPermissions( array ( Zend_Service_LiveDocx_MailMerge::DOCUMENT_ACCESS_PERMISSION_ALLOW_PRINTING_HIGH_LEVEL, Zend_Service_LiveDocx_MailMerge::DOCUMENT_ACCESS_PERMISSION_ALLOW_EXTRACT_CONTENTS ), 'myDocumentAccessPassword' ); {code}
This method can only be used for PDF documents
| array | $permissions | |
| string | $password |
| Zend_Service_LiveDocx_Exception |
Definition at line 298 of file MailMerge.php.

| setDocumentPassword | ( | $ | password | ) |
Set a password to open to document
This method can only be used for PDF documents
| string | $password |
| Zend_Service_LiveDocx_Exception |
Definition at line 254 of file MailMerge.php.

| setFieldValue | ( | $ | field, |
| $ | value | ||
| ) |
Set an array of key and value or array of values
| string | $field | |
| array | string | $value |
| Zend_Service_LiveDocx_Exception |
Definition at line 177 of file MailMerge.php.

| setFieldValues | ( | $ | values | ) |
Set an associative or multi-associative array of keys and values pairs
| array | $values |
| Zend_Service_LiveDocx_Exception |
Definition at line 140 of file MailMerge.php.


| setLocalTemplate | ( | $ | filename | ) |
Set the filename of a LOCAL template (i.e. a template stored locally on YOUR server)
| string | $filename |
| Zend_Service_LiveDocx_Exception |
Definition at line 86 of file MailMerge.php.

| setRemoteTemplate | ( | $ | filename | ) |
Set the filename of a REMOTE template (i.e. a template stored remotely on the LIVEDOCX server)
| string | $filename |
| Zend_Service_LiveDocx_Exception |
Definition at line 114 of file MailMerge.php.

| sharedDocumentExists | ( | $ | filename | ) |
Check whether a shared document is available on LiveDocx service
| string | $filename |
Definition at line 782 of file MailMerge.php.

| shareDocument | ( | ) |
Share a document - i.e. the document is available to all over the Internet
Definition at line 697 of file MailMerge.php.

| templateExists | ( | $ | filename | ) |
Check whether a template file is available on LiveDocx service
| string | $filename |
Definition at line 680 of file MailMerge.php.

| uploadTemplate | ( | $ | filename | ) |
Upload a template file to LiveDocx service
| string | $filename |
| Zend_Service_LiveDocx_Exception |
Definition at line 593 of file MailMerge.php.

$_blockFieldValues [protected] |
Definition at line 59 of file MailMerge.php.
$_fieldValues [protected] |
Definition at line 51 of file MailMerge.php.