Are you a regular stikked user? Signup so you can keep track of your pastes!

CI Template Library - 2 - view/t

By Tiny Tern, 1 Year ago, written in PHP.
URL http://stikked.com/view/10984197
  1.  
  2.  
  3. <?php
  4. if( isset($views) && is_array($views) )
  5. {
  6.         foreach( $views as $view )
  7.         {
  8.                 if( is_array($view) )
  9.                 {
  10.                         $this->load->view( $view[0], $view[1] );
  11.                 }
  12.                 else
  13.                 {
  14.                         $this->load->view( $view );
  15.                 }
  16.         }
  17. }
  18. ?>

Reply to "CI Template Library - 2 - view/t"

Here you can reply to the paste above

Create a snipurl

Make Private

Feeling clever? Set some advanced options.