Service/LiveDocx/MailMerge.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- LiveDocx
- Version
- $Id$
\Zend_Service_LiveDocx_MailMerge
Package: Zend_Service\LiveDocx- Parent(s)
- \Zend_Service_LiveDocx
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Since
- LiveDocx 1.0
Constants
WSDL
= 'https://api.livedocx.com/2.0/mailmerge.asmx?WSDL'
Properties
Methods
__construct( $options = null) : void\throws
Constructor (LiveDocx.MailMerge SOAP Service)
ParametersName | Type | Description |
---|
$options | | |
---|
ReturnsType | Description |
---|
void\throws | Zend_Service_LiveDocx_Exception |
Details- Since
- LiveDocx 1.0
_backendListArrayToMultiAssocArray(array $list) : array
Convert LiveDocx service return value from list methods to consistent PHP array
ParametersName | Type | Description |
---|
$list | array | |
---|
ReturnsDetails- Since
- LiveDocx 1.0
assign(array | string $field, array | string $value = null) : \Zend_Service_LiveDocx_MailMerge
Assign values to template fields
ParametersName | Type | Description |
---|
$field | array | string | |
---|
$value | array | string | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.0
assocArrayToArrayOfArrayOfString(array $assoc) : array
staticConvert assoc array to required SOAP type
ParametersName | Type | Description |
---|
$assoc | array | |
---|
ReturnsDetails- Since
- LiveDocx 1.0
createDocument() : void
Merge assigned data with template to generate document
ThrowsDetails- Since
- LiveDocx 1.0
deleteImage(string $filename) : void
Delete an image file from LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ThrowsDetails- Since
- LiveDocx 2.0
deleteSharedDocument(string $filename) : void
Delete a shared document from LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
Details- Since
- LiveDocx 1.0
deleteTemplate(string $filename) : void
Delete a template file from LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ThrowsDetails- Since
- LiveDocx 1.0
downloadImage(string $filename) : void
Download an image file from LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ThrowsDetails- Since
- LiveDocx 2.0
downloadTemplate(string $filename) : \binary
Download template file from LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.0
getAllBitmaps(integer $zoomFactor, string $format) : array
Return graphical bitmap data for all pages of created document
Return array contains bitmap data (binary) - array key is page number
ParametersName | Type | Description |
---|
$zoomFactor | integer | |
---|
$format | string | |
---|
ReturnsDetails- Since
- LiveDocx 1.2
getAllMetafiles() : array
Return WMF (aka Windows metafile) data for pages of created document
Return array contains WMF data (binary) - array key is page number
ReturnsDetails- Since
- LiveDocx 1.2
getBitmaps(integer $fromPage, integer $toPage, integer $zoomFactor, string $format) : array
Return graphical bitmap data for specified page range of created document
Return array contains bitmap data (binary) - array key is page number
ParametersName | Type | Description |
---|
$fromPage | integer | |
---|
$toPage | integer | |
---|
$zoomFactor | integer | |
---|
$format | string | |
---|
ReturnsDetails- Since
- LiveDocx 1.2
getBlockFieldNames(string $blockName) : array
Return all the block fields in the template
ParametersName | Type | Description |
---|
$blockName | string | |
---|
ReturnsDetails- Since
- LiveDocx 1.0
getBlockNames() : array
Return all the block fields in the template
ReturnsDetails- Since
- LiveDocx 1.0
getDocumentAccessOptions() : array
Return supported document access options
ReturnsDetails- Since
- LiveDocx 1.2 Premium
getDocumentFormats() : array
Return supported document formats (lowercase)
ReturnsDetails- Since
- LiveDocx 1.1
getFieldNames() : array
Return all the fields in the template
ReturnsDetails- Since
- LiveDocx 1.0
getFontNames() : array
Return the names of all fonts that are installed on backend server
ReturnsDetails- Since
- LiveDocx 1.2
getImageExportFormats() : array
Return supported image formats to which can be exported (lowercase)
ReturnsDetails- Since
- LiveDocx 2.0
getImageImportFormats() : array
Return supported image formats from which can be imported (lowercase)
ReturnsDetails- Since
- LiveDocx 2.0
getMetafiles(integer $fromPage, integer $toPage) : array
Return WMF (aka Windows metafile) data for specified page range of created document
Return array contains WMF data (binary) - array key is page number
ParametersName | Type | Description |
---|
$fromPage | integer | |
---|
$toPage | integer | |
---|
ReturnsDetails- Since
- LiveDocx 1.2
getTemplateFormats() : array
Return supported template formats (lowercase)
ReturnsDetails- Since
- LiveDocx 1.0
imageExists(string $filename) : boolean
Check whether an image file is available on LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ReturnsDetails- Since
- LiveDocx 2.0
listImages() : array
List all images stored on LiveDocx service
ReturnsDetails- Since
- LiveDocx 2.0
listSharedDocuments() : array
List all shared documents stored on LiveDocx service
ReturnsDetails- Since
- LiveDocx 1.0
listTemplates() : array
List all templates stored on LiveDocx service
ReturnsDetails- Since
- LiveDocx 1.0
multiAssocArrayToArrayOfArrayOfString(array $multi) : array
staticConvert multi assoc array to required SOAP type
ParametersName | Type | Description |
---|
$multi | array | |
---|
ReturnsDetails- Since
- LiveDocx 1.0
retrieveDocument(string $format) : \binary
Retrieve document in specified format
ParametersName | Type | Description |
---|
$format | string | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.0
setDocumentAccessPermissions(array $permissions, string $password) : \Zend_Service_LiveDocx_MailMerge
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
ParametersName | Type | Description |
---|
$permissions | array | |
---|
$password | string | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.2 Premium
setDocumentPassword(string $password) : \Zend_Service_LiveDocx_MailMerge
Set a password to open to document
This method can only be used for PDF documents
ParametersName | Type | Description |
---|
$password | string | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.2 Premium
setFieldValue(string $field, array | string $value) : \Zend_Service_LiveDocx_MailMerge
Set an array of key and value or array of values
ParametersName | Type | Description |
---|
$field | string | |
---|
$value | array | string | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.0
setFieldValues(array $values) : \Zend_Service_LiveDocx_MailMerge
Set an associative or multi-associative array of keys and values pairs
ParametersName | Type | Description |
---|
$values | array | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.0
setLocalTemplate(string $filename) : \Zend_Service_LiveDocx_MailMerge
Set the filename of a LOCAL template
(i.e. a template stored locally on YOUR server)
ParametersName | Type | Description |
---|
$filename | string | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.0
setRemoteTemplate(string $filename) : \Zend_Service_LiveDocx_MailMerge
Set the filename of a REMOTE template
(i.e. a template stored remotely on the LIVEDOCX server)
ParametersName | Type | Description |
---|
$filename | string | |
---|
ReturnsThrowsDetails- Since
- LiveDocx 1.0
shareDocument() : string
Share a document - i.e. the document is available to all over the Internet
ReturnsDetails- Since
- LiveDocx 1.0
sharedDocumentExists(string $filename) : boolean
Check whether a shared document is available on LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ReturnsDetails- Since
- LiveDocx 1.0
templateExists(string $filename) : boolean
Check whether a template file is available on LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ReturnsDetails- Since
- LiveDocx 1.0
uploadImage(string $filename) : void
Upload an image file to LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ThrowsDetails- Since
- LiveDocx 2.0
uploadTemplate(string $filename) : void
Upload a template file to LiveDocx service
ParametersName | Type | Description |
---|
$filename | string | |
---|
ThrowsDetails- Since
- LiveDocx 1.0