Author Topic: Internal class documentation  (Read 641 times)

0 Members and 1 Guest are viewing this topic.

Offline d4f

  • 111
  • 5
  • Community Managers
  • Active Participant
  • ****
Internal class documentation
« on: January 09, 2015, 09:12:07 AM »
Note: the following information is not based on reverse-engineering, cracking or decrypting the Hostbill source code but by using standard PHP functionality.
Should any admin/moderator feel it necessarily, please delete this post. Do note however that without documentation no custom development is possible.

Attached is a ZIP containing text-files with information about most includes/components and some includes/core classes. This first attempt at gaining information about Hostbill failed spectacularly on interdependent files so I'll adapt it sometime in the future to extract information about the remaining classes.
The files contain
- some general class information
- class constants and their respective value
- class properties (aka: variables) and their visibility. Default values are currently not accessible, hopefully soon
- class methods and their visibility as well as parameter names and whether it's optional / has default values.

Note that Hostbill either strips it's phpDoc documentation before being encrypted or it simply does not have any code-documentation at all. I sincerely hope it's not the latter but that may explain some bugs...

Offline d4f

  • 111
  • 5
  • Community Managers
  • Active Participant
  • ****
Re: Internal class documentation
« Reply #1 on: January 14, 2015, 08:39:20 AM »
Attached is yet another class analysis containing the runtime-loaded classes and defined constants.