Welcome Guest, Not a member yet? Register   Sign In
How to create a library?
#2

applications->library folder create File
example Acb.php make 1st word capital or in some hostings your library will not found
then make class like this

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class abc {
functions xyz(){}
}

you can make functions inside the class

in your controller load the library and call the function
Reply


Messages In This Thread
How to create a library? - by MatheusCastro - 12-07-2019, 11:29 AM
RE: How to create a library? - by acewebcreations - 12-07-2019, 08:51 PM
RE: How to create a library? - by ciadmin - 12-07-2019, 09:24 PM
RE: How to create a library? - by MatheusCastro - 12-08-2019, 04:27 AM
RE: How to create a library? - by Martin_Salas - 12-15-2019, 06:40 AM
RE: How to create a library? - by InsiteFX - 12-15-2019, 09:33 AM
RE: How to create a library? - by Martin_Salas - 12-15-2019, 03:12 PM
RE: How to create a library? - by miqueiaspenha - 07-02-2020, 12:26 PM
RE: How to create a library? - by cvlancvlan - 06-30-2020, 09:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB