ihelper.php 534 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. *
  8. */
  9. namespace OCP;
  10. /**
  11. * Functions that don't have any specific interface to place
  12. */
  13. interface IHelper {
  14. /**
  15. * Gets the content of an URL by using CURL or a fallback if it is not
  16. * installed
  17. * @param string $url the url that should be fetched
  18. * @return string the content of the webpage
  19. */
  20. public function getUrlContent($url);
  21. }