Commit 3cd8e6d0 authored by alexpott's avatar alexpott

Issue #2003308 by phenaproxima, jeroen12345: Rename Views method set_argument() to setArgument().

parent e504933f
......@@ -983,7 +983,7 @@ function validate_argument($arg) {
*
* @return TRUE if it successfully validates; FALSE if it does not.
*/
function set_argument($arg) {
public function setArgument($arg) {
$this->argument = $arg;
return $this->validateArgument($arg);
}
......@@ -1021,7 +1021,7 @@ function get_value() {
$this->is_default = TRUE;
}
// Set the argument, which will also validate that the argument can be set.
if ($argument->set_argument($arg)) {
if ($argument->setArgument($arg)) {
$value = $argument->argument;
}
unset($argument);
......
......@@ -867,7 +867,7 @@ protected function _buildArguments() {
}
// Set the argument, which will also validate that the argument can be set.
if (!$argument->set_argument($arg)) {
if (!$argument->setArgument($arg)) {
$status = $argument->validateFail($arg);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment