Create.php 875 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Block\Adminhtml\Dispatch;
  6. use Temando\Shipping\Block\Adminhtml\Template\AbstractComponent;
  7. /**
  8. * Temando Dispatch Layout Block
  9. *
  10. * @package Temando\Shipping\Block
  11. * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
  12. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  13. * @link http://www.temando.com/
  14. *
  15. * @api
  16. * @deprecated since 1.0.5 | Block data is provided by view model
  17. * @see \Temando\Shipping\ViewModel\Dispatch\DispatchEdit
  18. */
  19. class Create extends AbstractComponent
  20. {
  21. /**
  22. * Obtain dispatches grid url
  23. *
  24. * @return string
  25. */
  26. public function getDispatchesPageUrl()
  27. {
  28. return $this->_urlBuilder->getUrl('temando/dispatch/index');
  29. }
  30. }