[TYPO3-mvc] PHP Based View since Extbase 6.0 not found

Christian von Rohr ch.vrohr at gmail.com
Thu Feb 7 16:33:07 CET 2013


Hi list

Really starting to love Extbase and its community. So already many thanks
to all the contributors.

My question: Lately, I refactored an Extbase extension so its compatible
with TYPO3 6.0 (namespace etc.). Everything works fine, except the PHP
views I'm using for Ajax calls.

I implemented it like following:

File EXT/Classes/View/Project/AjaxGetProjectSums.php with the following
class definition:

namespace MYVENDOR\MyExtension\View\Project;

class AjaxGetProjectSums extends \TYPO3\CMS\Extbase\MVC\View\AbstractView {
      ...
      public function render() {
          ....
          return json_encode($dataArray);


The classname correspondences with the action name of the "project"
controller.


Did anything change in Extbase version 6.0 in case of file/class
conventions?

Cheers,
Christian


More information about the TYPO3-project-typo3v4mvc mailing list