1
phillipd
Where are the latest or current xoops module development docs?
  • 2004/7/13 18:46

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20



makeTboxData4Show() shows as deprecated in the docs at:
http://xoops.sourceforge.net/xoops2doc/kernel/core/MyTextSanitizer.html.

Where are the latest docs with the replacement method located? I'm a new XOOPS module hacker so if this is a dumb question please go easy on me...

Thanks

Doug P

2
Herko
Re: Where are the latest or current xoops module development docs?
  • 2004/7/13 18:50

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


The most current development documentation can be found at the http://dev.xoops.org wiki.

Herko

3
phillipd
Re: Where are the latest or current xoops module development docs?
  • 2004/7/13 19:03

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


FAQ uses MyTextSanitizer and thus makeTboxData4Show(). Does this mean it will break with any version above 2.0.7? I'm just trying to understand the development process.

Regards

Doug P

4
phillipd
Re: Where are the latest or current xoops module development docs?
  • 2004/7/13 19:18

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


Now I hope this isn't a dumb observation but I found NOTHING of use at that site for docs (http://dev.xoops.org/modules/phpwiki/).

I accidentally found https://xoops.org/misc/api/kernel/ which has pretty much everything. What am I missing? I can't seem to navigate to any API stuff from the link you gave me. Even at the "www.xoops.org/misc/api/kernel/" site, when you go up a directory, there is no link to find the "kernel" directory again. Is there some kind of big secret going on here? I'm trying to get up to speed on this stuff but the explanations and docs seem really hard to find. Perhaps I'm just dense... (OK I heard that snickering)

Doug P

5
Mithrandir
Re: Where are the latest or current xoops module development docs?

Deprecated functions are functions, which are there for backwards compatibility, but which should no longer be used in new developments.

MyTextSanitizer deprecated functions and their replacements

Regarding the api docs, you should go to https://xoops.org/misc/api/ - not the subfolders. From https://xoops.org/misc/api/ you will be able to select the various packages from the drop down in the upper right corner.

6
phillipd
Re: Where are the latest or current xoops module development docs?
  • 2004/7/13 21:02

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


I'm not sure I understand what's at this Link:
MyTextSanitizer deprecated functions and their replacements.

Now the old ones, with the correct equivalent:

* function makeTboxData4Save($text)
* function makeTareaData4Save($text)

--> $ts->addSlashes($text);

-----

-->$ts->displayTarea($text, $html, $smiley, $xcode);

* function &makeTareaData4Preview(&$text, $html=1, $smiley=1, $xcode=1)

-->$ts->previewTarea($text, $html, $smiley, $xcode);

Does this mean that all the Show|Edit|Inside|Preview TboxData and TareaData functions are replaced by just two functions, previewTarea and displayTarea?

Thanks for clarifying

Doug P (Still a noobie)

Login

Who's Online

357 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 357


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits