D
D
Dmitry Baskakov2020-05-28 03:22:52
PHP
Dmitry Baskakov, 2020-05-28 03:22:52

How to use autoloading of webasyst framework?

How to use autoloading of webasyst framework? It is necessary to write an application that will use the framework classes, but they are all connected to each other, which means that some kind of autoloader class is needed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Ushenin, 2020-05-28
@dmitrybascacov

To use application classes with an identifier shop, you must first initialize it by calling wa('shop'):

wa('shop');
$shop_category_model = new shopCategoryModel();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question