can a long string in a filter name be turned into something more readable?

I have the following filter function in a controller




public function filters()

{

	return array(

		//....

		array(

			'application.components.filters.someFilter -action1, action2, action3, action4, action5, action6, action7, action8, action9,  action10,  action11,  action12'

		),

		//....

	);

}



The line is getting rather long. Is there a neat way of breaking this up, such as placing the action names in an array?

Just hit your Return key a couple of times to split that long line up.

PHP doesn’t care about white space.:)

I’d better reflect about why there are so many action in a controller, maybe you can find some logical motivation for split the entire controller in many blocks.

Thanks. That works well enough