public, private functions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
silverbux
Forum Newbie
Posts: 9
Joined: Mon Aug 14, 2006 8:50 pm

public, private functions

Post by silverbux »

hello im having trouble understanding the following, and i dont know when to use them. please enlighten me. thank you in advance :)

public static function()
public function foo()

private function foo()
private static function foo()
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Have you read up on the keywords in the manual? http://php.net/language.oop5
Post Reply