/** * Constructor * * @access public */ public function __construct() { define("GRAPHAPI", true); require_once ASD_PATH . 'hooks/graph/libraries/graph.php'; $this->_Graph = new cGraphApi(); $this->_Graph->SetCallback('GetNodeEntryPoint', array($this, 'GetNodeEntryPoint')); $this->_Graph->SetCallback('UpdateNetworkNode', array($this, 'UpdateNetworkNode')); $this->_Graph->SetCallback('GetNodeProtocols', array($this, 'GetNodeProtocols')); if (ASD_DOMAIN == 'enterprise.appleseed') { //$result = $this->_Graph->Communicate ( 'fellowship.appleseed', 'GET', '/user/token/', '*****@*****.**' ); //echo "<pre>"; //echo "Result:\n"; //print_r ( $result ); //exit; } //echo $this->_Token ( 'mchisari', 'fellowship.appleseed' ); //exit; parent::__construct(); }
/** * Constructor * * @access public */ public function __construct() { parent::__construct(); }