[TYPO3-mvc] ItemsProcFunc and Namespaces

Heiko Kromm | Paints h.kromm at paints.de
Thu May 30 17:22:22 CEST 2013


Hi List,

I want to call a ItemsProcFunc with a new extbase extension using namespaces.

I placed my Class in Classes/Hook and the filename is ItemsProcFunc.php.
The content of this file is (shortend):
<?php
namespace Myvendor\Myextension\Hook;

class ItemsProcFunc {
		
        public function createItems(array &$config, t3lib_TCEforms $parentObject) {
            ...
        }
}
?>

How can I call the createItems function with ItemsProcFunc?

Thanks for your help
Heiko


More information about the TYPO3-project-typo3v4mvc mailing list