original_string: public function init(array $params = array())
      {
          // Try to load token from session
          if (isset($_SESSION[self::SESSION_PREFIX.'_'.$this->id])) {
              $this->token = $_SESSION[self::SESSION_PREFIX.'_'.$this->id];
          }
  
          parent::init($params);
      }
code: public function init(array $params = array())
      {
          // Try to load token from session
          if (isset($_SESSION[self::SESSION_PREFIX.'_'.$this->id])) {
              $this->token = $_SESSION[self::SESSION_PREFIX.'_'.$this->id];
          }
  
          parent::init($params);
      }
code_tokens: public function init ( array $ params = array ( ) ) { // Try to load token from session if ( isset ( $ _SESSION [ self :: SESSION_PREFIX . '_' . $ this -> id ] ) ) { $ this -> token = $ _SESSION [ self :: SESSION_PREFIX . '_' . $ this -> id ] ; } parent :: init ( $ params ) ; }
docstring: Social network initialization
docstring_tokens: Social network initialization