Commit 8de2be71 authored by alexpott's avatar alexpott

Issue #2002878 by theladebug, toddtomlinson, jeroen12345: Rename Views method...

Issue #2002878 by theladebug, toddtomlinson, jeroen12345: Rename Views method is_exception() to isException().
parent 3e83ff97
......@@ -96,7 +96,7 @@ public function usesBreadcrumb() {
return !empty($info['breadcrumb']);
}
function is_exception($arg = NULL) {
public function isException($arg = NULL) {
if (!isset($arg)) {
$arg = isset($this->argument) ? $this->argument : NULL;
}
......@@ -945,7 +945,7 @@ public function validateArgument($arg) {
return $this->argument_validated;
}
if ($this->is_exception($arg)) {
if ($this->isException($arg)) {
return $this->argument_validated = TRUE;
}
......
......@@ -875,7 +875,7 @@ protected function _buildArguments() {
break;
}
if ($argument->is_exception()) {
if ($argument->isException()) {
$arg_title = $argument->exception_title();
}
else {
......
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