Lines Matching defs:title
11 protected $title;
41 $sql = "SELECT pid, title, lasteditor, lastrev, lastsummary FROM titles WHERE pid = ?";
47 * Save title, last editor and revision timestamp to database
51 $sql = "REPLACE INTO titles (pid, title, lasteditor, lastrev, lastsummary) VALUES (?,?,?,?,?)";
52 $this->sqlite->query($sql, [$this->pid, $this->title, $this->lasteditor, $this->lastrev, $this->lastsummary]);
57 * Sets a new title
59 * @param string|null $title set null to derive from PID
61 public function setTitle($title)
63 if ($title === null) {
64 $title = noNS($this->pid);
67 $this->title = $title;