Answer the question
In order to leave comments, you need to log in
Is it possible to fill a property in a constructor without checking for a POST request?
So?
свойство = метод_модели(); // внутри метода используется POST_запрос
if (POST_запрос) свойство = метод_модели(); // внутри метода используется POST_запрос
if (POST_запрос) обращение к свойству
Answer the question
In order to leave comments, you need to log in
superglobals do not need to be used (written explicitly) within objects. get away from it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question