/library/Zend/Feed/Writer/Extension/RendererInterface.php

https://bitbucket.org/hamidrezas/melobit · PHP · 60 lines · 8 code · 4 blank · 48 comment · 0 complexity · f1873b39d9e59850a9ce829d80ab936f MD5 · raw file

  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to padraic dot brady at yahoo dot com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Feed_Writer
  17. * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
  18. * @license http://framework.zend.com/license/new-bsd New BSD License
  19. * @version $Id: RendererInterface.php 24594 2012-01-05 21:27:01Z matthew $
  20. */
  21. /**
  22. * @category Zend
  23. * @package Zend_Feed_Writer
  24. * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
  25. * @license http://framework.zend.com/license/new-bsd New BSD License
  26. */
  27. interface Zend_Feed_Writer_Extension_RendererInterface
  28. {
  29. /**
  30. * Constructor
  31. *
  32. * @param mixed $container
  33. * @return void
  34. */
  35. public function __construct($container);
  36. /**
  37. * Set DOMDocument and DOMElement on which to operate
  38. *
  39. * @param DOMDocument $dom
  40. * @param DOMElement $base
  41. * @return void
  42. */
  43. public function setDomDocument(DOMDocument $dom, DOMElement $base);
  44. /**
  45. * Render
  46. *
  47. * @return void
  48. */
  49. public function render();
  50. /**
  51. * Retrieve container
  52. *
  53. * @return mixed
  54. */
  55. public function getDataContainer();
  56. }