[TYPO3-dev] Data Exchange between two plugins within the same extension

bernd wilke xoonsji02 at sneakemail.com
Wed Jan 23 18:22:31 CET 2008


on Wed, 23 Jan 2008 18:05:22 +0100, Ansgar Brauner wrote:

> Hi everybody,
> 
> I'm developing an extension and i would like to split different views
> into different plugins. The Problem is that i dont know how to exchange
> data between these plugins correctly.

why this split?

maybe you can manage all in one single plugin and you won't have to 
bother about changing prefixes

something like:

function main (...) {
	[...]
	if ($mode == 1) {
		$this->displayView1(...);
	} else {
		$this->displayView2(...);
	}
}

and you may have two separates files for defining these functions 


Bernd 

-- 
http://www.pi-phi.de/t3v4/cheatsheet.html




More information about the TYPO3-dev mailing list