I have been trying to find what "beforFilter()","beforeRender" and "afterFilter" functions do in Controller?.
I am getting only theoretical definitions and answers for it.
Can anyone please help me make it understand with an example ?