Welcome Guest, Not a member yet? Register   Sign In
extending libraries
#3

[eluser]Rolly1971[/eluser]
so you have 2 libraries, both in the applications/libraries:

/application/libraries/Rouuid.php (class Name: Rouuid)

/application/libraries/Impactresultobject.php (class name: Companyresultobject)

first, add companyresultobject to your autoload['libraries'] in config.php

then rename:

Impactresultobject.php

to:

Companyresultobject.php

---

CI expects classes to have the same filename as the name of the class, and in the case of libraries, the first letter in the filename and class name should be capitalized.


Messages In This Thread
extending libraries - by El Forum - 09-07-2010, 02:42 PM
extending libraries - by El Forum - 09-07-2010, 05:28 PM
extending libraries - by El Forum - 09-07-2010, 09:04 PM
extending libraries - by El Forum - 09-08-2010, 10:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB