title: Where to put generic functions in Code Igniter?
body: <p>I'm new to code igniter.  I'm going to create some generic functions like random_string($length), row_color($evenStyle, $oddStyle) etc...</p>
  
  <p>Where do I put these functions such that they are accessible to my controller and view files?</p>