Commit 8de2be71 authored by alexpott's avatar alexpott
Browse files

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() { ...@@ -96,7 +96,7 @@ public function usesBreadcrumb() {
return !empty($info['breadcrumb']); return !empty($info['breadcrumb']);
} }
function is_exception($arg = NULL) { public function isException($arg = NULL) {
if (!isset($arg)) { if (!isset($arg)) {
$arg = isset($this->argument) ? $this->argument : NULL; $arg = isset($this->argument) ? $this->argument : NULL;
} }
...@@ -945,7 +945,7 @@ public function validateArgument($arg) { ...@@ -945,7 +945,7 @@ public function validateArgument($arg) {
return $this->argument_validated; return $this->argument_validated;
} }
if ($this->is_exception($arg)) { if ($this->isException($arg)) {
return $this->argument_validated = TRUE; return $this->argument_validated = TRUE;
} }
......
...@@ -875,7 +875,7 @@ protected function _buildArguments() { ...@@ -875,7 +875,7 @@ protected function _buildArguments() {
break; break;
} }
if ($argument->is_exception()) { if ($argument->isException()) {
$arg_title = $argument->exception_title(); $arg_title = $argument->exception_title();
} }
else { 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