public function RestfulDataProviderVariable::update in RESTful 7
Alias for $this->variableSet().
The data structures of variable values are all different, therefore it's impossible to do a partial update in a generic way.
Parameters
string $name: The name of the variable to set a value for.
boolean $full_replace: Completely replace variable values with supplied values.
Overrides RestfulBase::update
File
- plugins/
restful/ RestfulDataProviderVariable.php, line 172 - Contains \RestfulDataProviderDbQuery
Class
- RestfulDataProviderVariable
- @file Contains \RestfulDataProviderDbQuery
Code
public function update($name, $full_replace = FALSE) {
return $this
->variableSet($name, FALSE);
}