Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

JDom HowTo / JDom doc 04 Aug 2012 13:03 #2984

About JDOM coding:
I am able to read :) from the doc but unfortunately unable to understand :silly:
The enlighted text is confusing...
Where can I download complete JDom namespace list
And provide us with some sample code ... please... that is always a good point to start


How to modify it ?

The only files to don't touch are dom.php and html.php
All others files are placed in a files tree that correspond to the called namespace.
Ex: html.form.input.editor is the html/form/input/editor.php file.

★ If you rewrite a file for an existing namespace, please keep intact the names and positions of the parameters.

Can I write my own files ?
Yes you can, and you should !

★ Respect the JDom standard to place your file in the correct directory, depending on which namespace you choosed.
★ Defines the namespace level (first class property)
★ Register the parameters in the constructor.
★ Write the build() function wich return the rendered HTML.

Important note : Please don't write a file for an existing namespace.
Please consult the complete JDom namespace list (Comming soon), or simply download complete JDom.
If you rewrite an already used namespace, it could cause an incompatibility if you reuse it in a future Cook project.

Please Log in or Create an account to join the conversation.

Last edit: by e-struct.
  • Page:
  • 1
Time to create page: 0.107 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started