Skip to content

Commit

Permalink
Merge pull request #22 from kenjis/add-copyright-notice
Browse files Browse the repository at this point in the history
docs: add copyright notice
  • Loading branch information
kenjis authored Mar 17, 2023
2 parents b139639 + 75a1827 commit 0de196c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/CI3Compatible/Core/CI_Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ public function view(string $view, array $vars = [], bool $return = false)
}

/**
* The following method was derived from code of CodeIgniter (v3.1.13 - 2022-03-03)
* https://github.com/bcit-ci/CodeIgniter/blob/3.1.13/system/core/Loader.php#L883
* Code subject to the MIT license (https://github.com/bcit-ci/CodeIgniter/blob/3.1.13/license.txt).
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
*
* Internal CI Data Loader
*
* Used to load views and files.
Expand Down Expand Up @@ -260,6 +265,11 @@ protected function _ci_load(array $_ci_data)
}

/**
* The following method was derived from code of CodeIgniter (v3.1.13 - 2022-03-03)
* https://github.com/bcit-ci/CodeIgniter/blob/3.1.13/system/core/Loader.php#L1381
* Code subject to the MIT license (https://github.com/bcit-ci/CodeIgniter/blob/3.1.13/license.txt).
* Copyright (c) 2019 - 2022, CodeIgniter Foundation
*
* Prepare variables for _ci_vars, to be later extract()-ed inside views
*
* Converts objects to associative arrays and filters-out internal
Expand Down

0 comments on commit 0de196c

Please sign in to comment.