original_string: public function setScopeValue($scope, $value)
      {
          if (is_string($scope)) {
              $scope = $this->getScope($scope);
          }
  
          $cacheKey = 'scope-'.$scope->scopeName;
          $this->putSession($cacheKey, $value);
  
          $scope->value = $value;
      }
code: public function setScopeValue($scope, $value)
      {
          if (is_string($scope)) {
              $scope = $this->getScope($scope);
          }
  
          $cacheKey = 'scope-'.$scope->scopeName;
          $this->putSession($cacheKey, $value);
  
          $scope->value = $value;
      }
code_tokens: public function setScopeValue ( $ scope , $ value ) { if ( is_string ( $ scope ) ) { $ scope = $ this -> getScope ( $ scope ) ; } $ cacheKey = 'scope-' . $ scope -> scopeName ; $ this -> putSession ( $ cacheKey , $ value ) ; $ scope -> value = $ value ; }
docstring: Sets an scope value for this widget instance.
docstring_tokens: Sets an scope value for this widget instance .