Commit 5a95824b authored by alexpott's avatar alexpott

Issue #2002250 by dwieeb: Rename Views method get_title() to getTitle().

parent ddfec678
...@@ -106,7 +106,7 @@ function is_exception($arg = NULL) { ...@@ -106,7 +106,7 @@ function is_exception($arg = NULL) {
function exception_title() { function exception_title() {
// If title overriding is off for the exception, return the normal title. // If title overriding is off for the exception, return the normal title.
if (empty($this->options['exception']['title_enable'])) { if (empty($this->options['exception']['title_enable'])) {
return $this->get_title(); return $this->getTitle();
} }
return $this->options['exception']['title']; return $this->options['exception']['title'];
} }
...@@ -926,7 +926,7 @@ function title() { ...@@ -926,7 +926,7 @@ function title() {
* Called by the view object to get the title. This may be set by a * Called by the view object to get the title. This may be set by a
* validator so we don't necessarily call through to title(). * validator so we don't necessarily call through to title().
*/ */
function get_title() { public function getTitle() {
if (isset($this->validated_title)) { if (isset($this->validated_title)) {
return $this->validated_title; return $this->validated_title;
} }
......
...@@ -876,7 +876,7 @@ protected function _buildArguments() { ...@@ -876,7 +876,7 @@ protected function _buildArguments() {
$arg_title = $argument->exception_title(); $arg_title = $argument->exception_title();
} }
else { else {
$arg_title = $argument->get_title(); $arg_title = $argument->getTitle();
$argument->query($this->display_handler->useGroupBy()); $argument->query($this->display_handler->useGroupBy());
} }
......
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