Class FacebookApi

Description

Facebook.Api Library used to create an instanciated facebook API available to the user

Located in /libs/facebook_api.php (line 12)


	
			
Variable Summary
static mixed $Facebook
Method Summary
static void buildFacebook ()
static void __callstatic ( $method,  $params)
mixed __call (string $method, mixed $params)
mixed __get (string $name)
Variables
static mixed $Facebook = null (line 17)

Facebook Api

  • access: public
Methods
static method buildFacebook (line 56)

Builds the facebook API if we need it

  • access: public
static void buildFacebook ()
static method __callstatic (line 48)

PHP 5.3.0 only

Usage:

  • FacebookApi::method(params);
Example:
  • FacebookApi::get_loggedin_user();
  • FacebookApi::require_login('myaccount');

  • access: public
static void __callstatic ( $method,  $params)
  • $method
  • $params
__call (line 25)

Forward any call to the Facebook API

  • return: return value of result from Facebook API
  • access: public
mixed __call (string $method, mixed $params)
  • string $method: method name
  • mixed $params: params passed into method
__get (line 35)

Retrieve the property of the facebookApi

  • return: property of facebookApi
  • access: public
mixed __get (string $name)
  • string $name: name of property

Documentation generated on Mon, 29 Nov 2010 23:21:00 -0500 by phpDocumentor 1.4.3