basic class question

From: Date: Wed, 28 Jun 2000 18:15:02 +0000
Subject: basic class question
Groups: php.general 
Request: Send a blank email to php-general+get-3621@lists.php.net to get a copy of this message
I have a class method and I want to use another classes method inside of it. ie: class Foo { function f1 { // code } } class Foo2 { function f2 { // here I want to use f1 } } How is this done? Are there multiple ways, and if so what are they? ______________________________________ Kevin Beckford Programmer Big Orbit - Specializing in new media for youth www: http://www.bigorbit.com email: kbeckford@bigorbit.com [t] 416.516.0705 [f] 416.516.9256 "I lay on my belly beside the river of knowledge, and fill my belly until it bursts..."

« previous php.general (#3621) next »