Re: Calling a class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Calling a class is simple . First you have to include the class to the page . Auto load function can load the class if you have made it .

For eg : class A needs to be called whose filename is A.php .
include_one("path of the class /A.php");

can call A::function name or
create an object of class A like
$obj = new A();
$obj->method();

You can look the date picker class which are the methods used in it. and call it as described. 

Cheers

Hari K T

http://www.harikt.com/
http://ijust4u.blogspot.com/


--- On Tue, 24/2/09, Miller, Terion <tmiller@xxxxxxxxxxxxxxxxxxxx> wrote:
From: Miller, Terion <tmiller@xxxxxxxxxxxxxxxxxxxx>
Subject:  Calling a class
To: "php-objects@xxxxxxxxxxxxxxx" <php-objects@xxxxxxxxxxxxxxx>
Date: Tuesday, 24 February, 2009, 9:05 PM











    
            I'm trying to use the datepicker class and am confused with how to go about calling it.



I can't find good documentation on it, might be looking in the wrong place.



Thanks

T.Miller



[Non-text portions of this message have been removed]




 

      

    
    
	
	 
	
	








	


	
	


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux