Welcome Guest, Not a member yet? Register   Sign In
CI and fpdf/fpdi
#2

[eluser]rogierb[/eluser]
The third parameter in load in loading a library is used to assign the class to a different name.

It's in the userguide:
Quote:Assigning a Library to a different object name

If the third (optional) parameter is blank, the library will usually be assigned to an object with the same name as the library. For example, if the library is named Session, it will be assigned to a variable named $this->session.

If you prefer to set your own class names you can pass its value to the third parameter


Messages In This Thread
CI and fpdf/fpdi - by El Forum - 03-31-2010, 06:51 AM
CI and fpdf/fpdi - by El Forum - 03-31-2010, 07:37 AM
CI and fpdf/fpdi - by El Forum - 01-29-2012, 11:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB