[Typo3-dev] link generation, cHash?

Ernesto Baschny ernst at baschny.de
Tue Dec 7 00:48:45 CET 2004


Hi!

Just make an instance of an cObj and use the typolink method from it:

  $cObj = t3lib_div::makeInstance("tslib_cObj");
  $cObj->typolink(....)

This is also what is done in the "Make correct Typolinks" tutorial,
so it doesn't matter where you do that (object or function).

On 6 Dec 2004 at 21:38, Horn Gábor wrote:

> Thx, I've read  that tutorial too, but that also assumes you make your
> own extension as a class which extends tslib_pibase. But this is not the
> case, i just create a user_ function here, and would like to make links
> in that.
> 
> thx, hirisov
> 
> > 
> > I *think* this might help you out: 
> > 
> > http://typo3.hachmeister.org/Make_correct_Typolinks.412.0.html
> > 
> > -Christopher

-- 
Ernesto Baschny <ernst at baschny.de>
 http://www.baschny.de - PGP: http://www.baschny.de/pgp.txt
 Sao Paulo/Brasil - Stuttgart/Germany
 Ernst at IRCnet - ICQ# 2955403





More information about the TYPO3-dev mailing list