• Icon: Specification change (Sub-task) Specification change (Sub-task)
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 5.0 (plan)
    • Frontend (F)
    • Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020)
    • 0.125

      Add new public method addActions to the CRouter class:

      public function addActions(array $actions) { ... }
      

      Since the route calculation should not be executed before the new routes were added:

      1. The constructor should not take any parameters anymore (remove $action parameter).
      2. The calculateRoute() method should now be called externally, it should accept the $action parameter.
      3. Rename calculateRoute() to setAction(), since it will really set action (the method is not currently used outside the class).

            averza Andrejs Verza
            averza Andrejs Verza
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: