Lines Matching refs:pid
48 * @param string $pid
51 public function load_by_pid($pid) { argument
56 $pid = trim($pid);
57 if (!$this->is_valid_pid($pid)) {
58 msg('BlogTNG plugin: "'.$pid.'" is not a valid pid!', -1);
69 $resid = $this->sqlitehelper->getDB()->query($query, $pid);
75 $this->entry['pid'] = $pid;
81 $this->entry['pid'] = $pid;
617 $pid = md5(cleanID($id));
621 WHERE pid = '$pid'";
639 AND A.pid != '$pid'
889 public function is_valid_pid($pid) { argument
890 return (preg_match('/^[0-9a-f]{32}$/', trim($pid)));
913 $pid = md5(cleanID($id));
931 $res = $this->sqlitehelper->getDB()->query($query, $pid);