Welcome Guest, Not a member yet? Register   Sign In
Template View Library
#1

(This post was last modified: 03-06-2020, 10:23 AM by MatheusCastro.)

Hello everyone

Below is a library that makes it easy to work with templates in Codeigniter 4

How would you upload it using this library:

PHP Code:
  public function index()
        {
                $data = [
                        'page_title' => 'Your title'
                ];

                // Here
                $this->template->load('template_name''page_name'$data)
        

Link is here: <https://github.com/matheuscastroweb/ci4-template-view>
Reply


Messages In This Thread
Template View Library - by MatheusCastro - 03-06-2020, 10:22 AM
RE: Template View Library - by kilishan - 03-06-2020, 02:06 PM
RE: Template View Library - by MatheusCastro - 03-06-2020, 02:27 PM
RE: Template View Library - by kilishan - 03-06-2020, 10:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB