PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/demos/Zend/Service/LiveDocx/MailMerge/images/list.php

https://github.com/decaoz/zf1
PHP | 23 lines | 15 code | 8 blank | 0 comment | 0 complexity | 9b6c5e9b43f96addba0cccabcd014eac MD5 | raw file
 1<?php
 2
 3require_once dirname(__FILE__) . '/../../common.php';
 4
 5
 6system('clear');
 7
 8print(Demos_Zend_Service_LiveDocx_Helper::wrapLine(
 9    PHP_EOL . 'Remotely Stored Images' .
10    PHP_EOL . 
11    PHP_EOL . 'The following images are currently stored on the LiveDocx server:' .
12    PHP_EOL .
13    PHP_EOL)
14);
15
16$mailMerge = new Zend_Service_LiveDocx_MailMerge();
17
18$mailMerge->setUsername(DEMOS_ZEND_SERVICE_LIVEDOCX_USERNAME)
19          ->setPassword(DEMOS_ZEND_SERVICE_LIVEDOCX_PASSWORD);
20
21print(Demos_Zend_Service_LiveDocx_Helper::listDecorator($mailMerge->listImages()));
22
23unset($mailMerge);