[TYPO3] pi_linkTP_keepPIvars_url and missing cHash

Elmar HInz elmar.hinz at team.MINUS.red.DOT.net
Wed Mar 28 19:58:54 CEST 2007


> variables dependant the $cache variable automatically. Or did I miss
> something?

Hi,

Indeed. It looks like:

extensive:

    $cache = 1;
    $this->pi_USER_INT_obj = 0;
    $label = 'Link to USER plugin';  // the link text
    $overrulePIvars = array( ... the parameters we need to send to the target plugin .... );
    $clearAnyway=1;    // the current values of piVars will NOT be preserved
    $altPageId=33;      // ID of the target page, if not on the same page

    $link = $this->pi_linkTP_keepPIvars($label, $overrulePIvars, $cache, $clearAnyway, $altPageId);

compressed:

    $cache = 1;
    ...
    $link = $this->pi_linkTP_keepPIvars(..., ..., $cache, ..., ...);

Regards

Elmar




More information about the TYPO3-english mailing list