PostManagementInterface.php 617 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright © 2016 Ihor Vansach (ihor@magefan.com). All rights reserved.
  4. * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php).
  5. *
  6. * Glory to Ukraine! Glory to the heroes!
  7. */
  8. namespace Magefan\Blog\Api;
  9. interface PostManagementInterface extends ManagementInterface
  10. {
  11. /**
  12. * Retrieve list of post by page type, term, store, etc
  13. *
  14. * @param string $type
  15. * @param string $term
  16. * @param int $storeId
  17. * @param int $page
  18. * @param int $limit
  19. * @return bool
  20. */
  21. public function getList($type, $term, $storeId, $page, $limit);
  22. }