function view::get_human_name

cis7 view.inc view::get_human_name()
cle7 view.inc view::get_human_name()
elmsmedia7 view.inc view::get_human_name()
icor7 view.inc view::get_human_name()
meedjum_blog7 view.inc view::get_human_name()
mooc7 view.inc view::get_human_name()

Return the human readable name for a view.

When a certain view doesn't have a human readable name return the machine readable name.

File

sites/all/modules/ulmus/views/includes/view.inc, line 1551
Provides the view object type and associated methods.

Class

view
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

Code

function get_human_name() {
  if (!empty($this->human_name)) {
    $human_name = $this->human_name;
  }
  else {
    $human_name = $this->name;
  }
  return $human_name;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.