/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. require_once dirname(__FILE__) . '/../../common.php';
  3. system('clear');
  4. print(Demos_Zend_Service_LiveDocx_Helper::wrapLine(
  5. PHP_EOL . 'Remotely Stored Images' .
  6. PHP_EOL .
  7. PHP_EOL . 'The following images are currently stored on the LiveDocx server:' .
  8. PHP_EOL .
  9. PHP_EOL)
  10. );
  11. $mailMerge = new Zend_Service_LiveDocx_MailMerge();
  12. $mailMerge->setUsername(DEMOS_ZEND_SERVICE_LIVEDOCX_USERNAME)
  13. ->setPassword(DEMOS_ZEND_SERVICE_LIVEDOCX_PASSWORD);
  14. print(Demos_Zend_Service_LiveDocx_Helper::listDecorator($mailMerge->listImages()));
  15. unset($mailMerge);