Overview

Packages

  • None
  • thrift
    • transport

Classes

  • Argument
  • ContainerType
  • FacebookBase
  • FacebookService_aliveSince_args
  • FacebookService_aliveSince_result
  • FacebookService_getCounter_args
  • FacebookService_getCounter_result
  • FacebookService_getCounters_args
  • FacebookService_getCounters_result
  • FacebookService_getCpuProfile_args
  • FacebookService_getCpuProfile_result
  • FacebookService_getLimitedReflection_args
  • FacebookService_getLimitedReflection_result
  • FacebookService_getName_args
  • FacebookService_getName_result
  • FacebookService_getOption_args
  • FacebookService_getOption_result
  • FacebookService_getOptions_args
  • FacebookService_getOptions_result
  • FacebookService_getStatus_args
  • FacebookService_getStatus_result
  • FacebookService_getStatusDetails_args
  • FacebookService_getStatusDetails_result
  • FacebookService_getVersion_args
  • FacebookService_getVersion_result
  • FacebookService_reinitialize_args
  • FacebookService_setOption_args
  • FacebookService_setOption_result
  • FacebookService_shutdown_args
  • FacebookServiceClient
  • FacebookServiceProcessor
  • fb_status
  • Method
  • Service
  • SimpleType
  • TBase
  • TBinaryProtocol
  • TBinaryProtocolAccelerated
  • TBinaryProtocolFactory
  • ThriftType
  • TMessageType
  • TProtocol
  • TType
  • TTypeTag

Interfaces

  • FacebookServiceIf
  • Horde_Thrift
  • TProtocolFactory

Exceptions

  • TApplicationException
  • TException
  • TProtocolException
  • TTransportException

Functions

  • apc_fetch
  • apc_store
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * Copyright (c) 2006- Facebook
 5:  * Distributed under the Thrift Software License
 6:  *
 7:  * See accompanying file LICENSE or visit the Thrift site at:
 8:  * http://developers.facebook.com/thrift/
 9:  *
10:  * @package thrift
11:  * @author Aditya Agarwal <aditya@facebook.com>
12:  */
13: 
14: /**
15:  * Abstract Class providing null implementation for FacebookService
16:  * methods.
17:  */
18: class FacebookBase implements FacebookServiceIf {
19:   protected $name_ = '';
20: 
21:   public function __construct($name) {
22:     $this->name_ = $name;
23:   }
24: 
25:   public function getName() {
26:     return $this->name_;
27:   }
28: 
29:   public function getVersion() { 
30:     return ''; 
31:   }
32: 
33:   public function getStatus() { 
34:     return null; 
35:   } 
36:   
37:   public function getStatusDetails() { 
38:     return '';
39:   }
40:  
41:   public function getCounters() { 
42:     return array();
43:   } 
44: 
45:   public function getCounter($key) { 
46:     return null;
47:   } 
48: 
49:   public function setOption($key, $value) { 
50:     return;
51:   } 
52: 
53:   public function getOption($key) { 
54:     return ''; 
55:   } 
56: 
57:   public function getOptions() { 
58:     return array();
59:   } 
60: 
61:   public function aliveSince() { 
62:     return 0;
63:   } 
64: 
65:   public function getCpuProfile($duration) { 
66:     return ''; 
67:   }
68: 
69:   public function getLimitedReflection() { 
70:     return array();
71:   } 
72: 
73:   public function reinitialize() { 
74:     return;
75:   }
76: 
77:   public function shutdown() { 
78:     return;
79:   }
80: 
81: }
82: 
83: 
API documentation generated by ApiGen