You are here

function Gallery::get_title in Node Gallery 6

File

./node_gallery.model.inc, line 181
Node gallery module.

Class

Gallery

Code

function get_title() {
  if (empty($this->title)) {
    $this->title = db_result(db_query("SELECT title FROM {node} WHERE nid = %d", $this->nid));
  }
  return $this->title;
}