Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

ViewContextInterface.php 657B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\base;
  8. /**
  9. * ViewContextInterface is the interface that should implemented by classes who want to support relative view names.
  10. *
  11. * The method [[getViewPath()]] should be implemented to return the view path that may be prefixed to a relative view name.
  12. *
  13. * @author Paul Klimov <klimov.paul@gmail.com>
  14. * @since 2.0
  15. */
  16. interface ViewContextInterface
  17. {
  18. /**
  19. * @return string the view path that may be prefixed to a relative view name.
  20. */
  21. public function getViewPath();
  22. }