Views: 19482
Last Modified: 16.09.2014
In some cases, the creation of own activities is not required to resolve a business process task. An own PHP code introduced as a part of a standard activity PHP code will suffice.
Before reviewing some examples, please take note of the following general advice on code creation:
- The code will be executed in its space; i.e. take into account that modules were not connected beforehand. That is why a standard API of Bitrix Framework must be called.
- No
<??>
characters are to be introduced.
- Closely monitor the types of variables; variable type cast must be arranged without fail (in some examples of the chapter this step is omitted for easier understanding).
Let us consider the use of code as a part of the activity PHP code.