Welcome Guest, Not a member yet? Register   Sign In
Access autoload.php file value in myown class
#1

[eluser]Arun Joshi[/eluser]
I have created a a new folder 'tn_business_manager' in application directory for handling some common functions. And I have a php file
'common_business_manager.php' in that directory. file contents as

Code:
class cCommonBusinessManager
{
    function  cCommonBusinessManager()
    {
    
    }
    function foo()
    {
    
    }

}


I want an array in this file which is declared in autoload file. How can I get that value? How to Inherit the base class for doing it?
#2

[eluser]Thorpe Obazee[/eluser]
Why don't you create a library and save it in the 'applications/libraries' folder then autoload it?
#3

[eluser]Colin Williams[/eluser]
include or require it. Easy as that
#4

[eluser]Arun Joshi[/eluser]
which file I have to include?
#5

[eluser]Thorpe Obazee[/eluser]
[quote author="Arun Joshi" date="1244206426"]which file I have to include?[/quote]
lol. what do you think you have to include?
#6

[eluser]Arun Joshi[/eluser]
I have created a library and solved my problems,

Thanks to all...




Theme © iAndrew 2016 - Forum software by © MyBB