Commit Details

Avatar

Repository https://svn.typo3.org/FLOW3/Packages/FLOW3/trunk /Packages/FLOW3/trunk
by Robert Lemke (Using name ‘robert’) on 2009-11-05 10:54 (about 1 month ago)

[~TASK][+API] FLOW3 (MVC): Refactored the Controller Context and how its being built in the Abstract Controller and Action Controller. The controllers now provide a method getControllerContext() which can potentially be used as a factory method for injecting a controller's current context into other objects (such as a TypoScript view).

Language Totals

  Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
  PHP 40 78 38 63 4 11
  HTML 0 0 0 0 0 0

Files Changed

[12 total ]
File Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
Classes/MVC/Controller/AbstractController.php
  PHP 4 13 10 5 1 0
  HTML 0 0 0 0 0 0
Classes/MVC/Controller/ActionController.php
  PHP 3 3 1 1 0 1
  HTML 0 0 0 0 0 0
Classes/MVC/Controller/ControllerContext.php
  PHP 7 16 13 38 0 5
  HTML 0 0 0 0 0 0
Classes/MVC/Controller/NotFoundController.php
  PHP 1 1 1 1 0 0
  HTML 0 0 0 0 0 0
Classes/MVC/Controller/StandardController.php
  PHP 1 1 1 1 0 0
  HTML 0 0 0 0 0 0
Classes/MVC/View/AbstractView.php
  PHP 3 3 5 5 0 0
  HTML 0 0 0 0 0 0
Classes/MVC/View/StandardView.php
  PHP 0 0 1 1 0 2
  HTML 0 0 0 0 0 0
Classes/MVC/View/ViewInterface.php
  PHP 0 0 2 3 0 0
  HTML 0 0 0 0 0 0
Tests/Unit/MVC/Controller/AbstractControllerTest.php
  PHP 6 29 1 5 0 3
  HTML 0 0 0 0 0 0
Tests/Unit/MVC/Controller/ActionControllerTest.php
  PHP 13 10 1 1 3 0
  HTML 0 0 0 0 0 0