You are here

public function MostPopularInterval::fullTitle in Drupal Most Popular 7

Same name and namespace in other branches
  1. 6 classes/intervals.php \MostPopularInterval::fullTitle()

Returns the full title, which is the interval's title prepended with 'Past '. So, for instance, 'Day' becomes 'Past Day'.

Return value

string The full title of the interval.

File

classes/intervals.php, line 88
Defines a wrapper for the mostpopular_intervals table.

Class

MostPopularInterval
@file Defines a wrapper for the mostpopular_intervals table.

Code

public function fullTitle() {
  return 'Past ' . $this->title;
}