[TYPO3] pi_linkTP_keepPIvars_url and missing cHash

Elmar HInz elmar.hinz at team.MINUS.red.DOT.net
Wed Mar 28 20:27:09 CEST 2007


Hi,

> And INSIDE pi_linkTP_keepPIvars the only use of $cache I see is:
> 
> $cache = $this->pi_autoCache($overrulePIvars); 
> 
> what means that value of the variable that is handed over to that function
> isn't taken care. Is that correct?

Nope. $cache is handed to pi_linkTP:

$this->pi_linkTP($str,Array($this->prefixId=>$overrulePIvars),$cache,$altPageId);

> pi_linkTP_keepPIvars($str,$overrulePIvars=array(),$cache=0,$clearAnyway=0,$altPageId=0)	

...

> $this->pi_linkTP($str,Array($this->prefixId=>$overrulePIvars),$cache,$altPageId);


It's the 

3. parameter in pi_linkTP_keepPIvars()      and the 
2. parameter in pi_linkTP_keepPIvars_url(). 

So don't mistake them. Have a nice evening.

Elmar




More information about the TYPO3-english mailing list