Answer the question
In order to leave comments, you need to log in
How to make controller in yii2 without display and how to access it?
Hello! I am just starting to learn yii2, at the moment there is a need for my project to run a certain script via cron and add the received data to the database. The question is, is it necessary to create a view for the controller if it should not display anything, but only perform a logical operation, in this case, just parse a certain page on the Internet and fix it in the database. If possible, how to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question