Welcome Guest, Not a member yet? Register   Sign In
Trying to understand an example in general topics
#2

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.
Reply


Messages In This Thread
RE: Trying to understand an example in general topics - by twpmarketing - 10-10-2017, 05:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB