what is the purpose of this part of code?

I dont see it used, and I dont see wgere the directives are supposed to come from.  They seem to be initilialized in the controller again.  At the moment they are simply incorrect.  That they never triggered an error only shows that they are not used... :P