Part of the EllisLab Network
   
4 of 4
4
Userlib - User Library
Posted: 01 December 2008 11:23 AM   [ Ignore ]   [ # 31 ]  
Summer Student
Total Posts:  3
Joined  09-09-2008

I added one… it worked just fine… it looks like there is work in progresss. grin

Profile
 
 
Posted: 07 September 2009 05:09 PM   [ Ignore ]   [ # 32 ]  
Lab Assistant
RankRank
Total Posts:  103
Joined  05-21-2009

Hi, excuse my n00b-ish-ness!!

I’m struggling to get started with this… where does the class file go in the CI directory structure? And then how do I access the functions in the class from my controller?

Thank you!

B

Profile
 
 
Posted: 08 September 2009 12:13 PM   [ Ignore ]   [ # 33 ]  
Lab Assistant
RankRank
Total Posts:  103
Joined  05-21-2009

Found the answers myself:

http://codeigniter.com/user_guide/general/creating_libraries.html

Profile
 
 
Posted: 21 December 2011 08:15 PM   [ Ignore ]   [ # 34 ]  
Summer Student
Avatar
Total Posts:  5
Joined  10-26-2011
Xikeon - 04 July 2007 11:43 AM
// All data
// This will check my email, but not ip
// This will make my account status 3 (administrator on my settings)
echo $this->userlib->register"Xikeon""mypass""xikeon@gmail.com"3TRUEFALSE ); 

sorry, I don’t realy understand what the “TRUE, FALSE” use for???

great work & thanks…..

sorry about my english.. :D

Profile
 
 
   
4 of 4
4