Ning Developer Docs

I searched the Developer Network for "xnhtmlentities" and found scant information regarding how or where this omnipresent function is configured. I searched the source code for "function xnhtmlentities" and "class xnhtmlentities" with no luck.

Have I overlooked a resource that explains the how xnhtmlentities work and where they are in the source code? I've modified the code to display an icon in front of each forum category on the Forum Home page, and now I would like to have those icons appear beside the category title on each of the category pages. There are numerous ways to accomplish this, but one solution was to modify the link url to include a variable indicating which icon to display.

I can come up with another solution, but I'd REALLY like to understand how xnhtmlentities work.

Views: 3

Replies to This Discussion

You know... I had seen it and marked it to be read and never did. That's an outstanding overview of the architecture and how to put it to use.

I get that xnhtmlentities is a Ning system function... a pretty comprehensive and remarkable one at that. And I see it used thousands of times throughout the architecture. So... does it just take what you send it and return it as safe HTML?
Agreed. I'll run a few tests on a backwater page of my network and throw different code and variables at xnhtmlentities and see what it throws back.

Thanks for the lead and the insights, Wizard! : )
take a look at the following:

http://us.php.net/htmlentities

Ning has a lot of standard php functions that they've extended or added a wrapper to so it will work in their system better. This is one of them.
ah HA! Got it... that makes perfect sense. Thanks Dayne!

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service