public function setScopeValue($scope, $value)
    {
        if (is_string($scope)) {
            $scope = $this->getScope($scope);
        }

        $cacheKey = 'scope-'.$scope->scopeName;
        $this->putSession($cacheKey, $value);

        $scope->value = $value;
    }
public function setScopeValue($scope, $value)
    {
        if (is_string($scope)) {
            $scope = $this->getScope($scope);
        }

        $cacheKey = 'scope-'.$scope->scopeName;
        $this->putSession($cacheKey, $value);

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