Trying to understand an example in general topics |
The array $data is extracted by the loader class (library) and each array element is accessible as individual variables inside the view.
The original array ($data) is NOT passed, so it cannot be referenced in your view code. User Guide (3.0) REFERENCE: file:///home/twp/Dev/CI_3.0/user_guide/libraries/loader.html#class-reference Scroll down to the view method definition.
CI 3.1 Kubuntu 19.04 Apache 5.x Mysql 5.x PHP 5.x PHP 7.x
Remember: Obfuscation is a bad thing. Clarity is desirable over Brevity every time. |
Messages In This Thread |
Trying to understand an example in general topics - by Cano58 - 10-10-2017, 04:03 PM
RE: Trying to understand an example in general topics - by twpmarketing - 10-10-2017, 05:16 PM
RE: Trying to understand an example in general topics - by Cano58 - 10-10-2017, 09:04 PM
RE: Trying to understand an example in general topics - by dave friend - 10-11-2017, 10:33 AM
|