WebsiteBaker Support (2.13.x) > General Help & Support

'scandir' and 'foreach' in code module

<< < (2/2)

DarkViper:

--- Quote from: netraam on September 23, 2023, 12:42:09 AM ---[…] I didn't know exactly how to use the WB variables in the code module.[…]

--- End quote ---

The new programming style (also at WebsiteBaker) largely avoids global constants and especially global variables, as their use usually contradicts general coding standards.

Here at WebsiteBaker there is an object that provides the necessary data (e.g. previous constants, etc.) and global objects (Database, Translate, Application, Requester) in a secure manner.
A description of this object can be found at the following link:

WB-Wiki (WbAdaptor)

greatings, Manuela

Navigation

[0] Message Index

[*] Previous page

Go to full version