/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
- <?php
- require_once dirname(__FILE__) . '/../../common.php';
- system('clear');
- print(Demos_Zend_Service_LiveDocx_Helper::wrapLine(
- PHP_EOL . 'Remotely Stored Images' .
- PHP_EOL .
- PHP_EOL . 'The following images are currently stored on the LiveDocx server:' .
- PHP_EOL .
- PHP_EOL)
- );
- $mailMerge = new Zend_Service_LiveDocx_MailMerge();
- $mailMerge->setUsername(DEMOS_ZEND_SERVICE_LIVEDOCX_USERNAME)
- ->setPassword(DEMOS_ZEND_SERVICE_LIVEDOCX_PASSWORD);
- print(Demos_Zend_Service_LiveDocx_Helper::listDecorator($mailMerge->listImages()));
- unset($mailMerge);