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

CI Template Library

By Violet Hedgehog, 1 Year ago, written in PHP.
URL http://stikked.com/view/8360049
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2.  
  3. class Basetemplate {
  4.  
  5.         function load( $views, $template = "")
  6.         {
  7.                 if( !is_array($views) || empty($views) )
  8.                 {
  9.                         return;
  10.                 }
  11.                
  12.                 $ci =& get_instance();
  13.                 $ci->load->view( $template . "template", array('views'=>$views) );
  14.         }
  15.  
  16. }
  17. ?>

Replies to CI Template Library

Title Name When
RE: CI Template Library Gamboge Ostrich 1 Year ago.

Reply to "CI Template Library"

Here you can reply to the paste above

Create a snipurl

Make Private

Feeling clever? Set some advanced options.