[TYPO3-german] Re: Kleines Problem beim Extension bauen

Maik Hagenbruch mh at ivi-solutions.com
Mon Apr 8 14:41:24 CEST 2013


Allerdings ist jetzt die erste Fehlermeldung weg.
Jetzt kommt die nächste. Das sidn dann genau die beiden mit denen ich immer zu kämpfen habe. Irgendwie hab ichs halt immer hin gekriegt, aber es muss ja einen festen Lösungsweg geben.
Hier die 2. Fehlermeldung:
=============================
Could not analyse class:Tx_IviStatus_Controller_StatusController maybe not loaded or no autoloader?
=============================
Und hier controllercode:
=============================
<?php
namespace TYPO3\IviStatus\Controller;

/***************************************************************
 *  Copyright notice
 *
 *  (c) 2013 
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
 *  free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  The GNU General Public License can be found at
 *  http://www.gnu.org/copyleft/gpl.html.
 *
 *  This script is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/

/**
 *
 *
 * @package ivi_status
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3 or later
 *
 */
class StatusController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController {

	/**
	 * action list
	 *
	 * @return void
	 */
	public function listAction() {
		$statuses = $this->statusRepository->findAll();
		$this->view->assign('statuses', $statuses);
	}

	/**
	 * action show
	 *
	 * @param \TYPO3\IviStatus\Domain\Model\Status $status
	 * @return void
	 */
	public function showAction(\TYPO3\IviStatus\Domain\Model\Status $status) {
		$this->view->assign('status', $status);
	}


More information about the TYPO3-german mailing list