filterSomeName() in one Controller is defined as preFilter?

reading the manual and do some test, found this type of usage, is it right?

and then, how to define a postFilter in controller file?Do we have to write a seperate filter file to override the postFilter() function?

thanks!