Example #1
0
 /**
  * Construct
  *
  * Various tasks that should be ran before non-static methods
  *
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     if (!function_exists('json_encode')) {
         throw new Services_Facebook_Exception('PHP Function ' . 'json_encode() is required for Services_Facebook_Connect ' . ' methods.');
     }
 }
Example #2
0
 protected function callMethod($method, array $args = array())
 {
     return parent::callMethod($this->_prefix . $method, $args);
 }