Hi Davo,
Many thanks for that - all that makes sense for OOP functions but in the non-OOP code can I still call the helper functions?
For example:
Many thanks for that - all that makes sense for OOP functions but in the non-OOP code can I still call the helper functions?
For example:
blocks/myblock/lib.php:
function block_myblock_somefunction() {
$somearray = \block_myblock\helper::myfunction();
}
EDIT - Actually quicker to try it myself of course and YES it does work.
Cheers
Dave