Bitrix Intranet Portal  9.0

API on-the-fly

API on-the-fly

Developers working with the Bitrix platform know that there is documentation which describes the product’s API functions. There you can find classes, methods and functions which can be used for developing custom solutions or customizing existing components and gadgets. It is worth noting that the documentation is far behind the actual state of API. Our developers program faster than the Documentation department writes.

So I offer you a script that scans the product kernel files and displays a list of available API functions and module events. This means that you can look through the functions of all the modules written with the Bitrix framework.

You should just choose a module, and the script will scan it and display a list of the current module events and methods.



It is easy to guess what each parameter means. For example, the CCurrency::GetList() method has two required parameters: a variable containing the currency sort order and the sort direction. The third parameter is the value of the current language.

To look through the function description click on it. The code of each function is read from the product kernel files.



By clicking on the event, the method where it is initiated is opened. Each event call is highlighted.



Download the script here.

Put it in any product installation where the source code resides. Run it via a browser.

Attention! Do not leave this script on a public project. No security methods are included in the current implementation.
Partner Program
Free Online Training
Subscribe to Bitrix News