Multiple Line Enumerations

When adding Enums to you db array sometimes there are many items and/or with a long length, you can split the lines of the values as follows...

private static $db = array(
	...
	'Status'    => "Enum(array(
		'StatusOne',
		'StatusTwo',
        ),'StatusOne')",
    ...
);
Rate this post (1 rating(s))