[TYPO3] Get the speaking url from a page ID

Jérémy Lecour jeremy.lecour at gmail.com
Thu Mar 9 11:15:37 CET 2006


OK, I understand !

How can I provide cObj to my object ?

I've tried to launch mu functon with :
tslib_cObj::getTypoLink_URL($aParams['pid'],array(),'');

But I get another error :
Fatal error: Call to undefined function: gettypolink() in
/home/iaeaix/typo3_src-4.0beta2/typo3/sysext/cms/tslib/class.tslib_content.php
on line 5334

I'm a little bit lost !

2006/3/9, Dmitry Dulepov <typo3 at fm-world.ru>:
> Hi!
>
> Jérémy Lecour wrote:
> > If I test the value of $this->cObj in the extension itself it's OK,
> > but if I test it in a specific method instanciated by a _callUserObj
> > method, it's empty !
>
> Sure. No one set this value. It is your responsibility as a caller to
> provide cObj.
>
> Dmitry.
> --
> "It is our choices, that show what we truly are,
> far more than our abilities." (A.P.W.B.D.)
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english


--
Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
webdesigner, webmaster et développeur web
Trésorier du PLUG : Provence Linux User Group
http://www.plugfr.org/



More information about the TYPO3-english mailing list