Easy structure builder

Let's code!

    class Example extends BP_Controller {

        public function index()
        {
            //Meta tag information
            $this->title = "Example!";
            $this->description = "A Codeigniter-Boilerplate example";
            //Defining CSS styles
            $this->css = array("BP/homepage.css","BP/example.css");
            //Loading GoogleFonts fonts
            $this->GFont = array("Lobster","Puritan");
            //Passing custom data to the View 
            $toView["color"] = "Green";

            //Render the page
            $this->build_content($toView);
            $this->render_page();
        }
    }
    

CI Configurations

Codeigniter configuration for Boilerplate starts with:

Version Information

V2.1

V3.0 Stripped