Lines Matching refs:sqlitehelper

22     private $sqlitehelper  = null;  variable in helper_plugin_blogtng_entry
38 $this->sqlitehelper = plugin_load('helper', 'blogtng_sqlite');
62 if(!$this->sqlitehelper->ready()) {
69 $resid = $this->sqlitehelper->getDB()->query($query, $pid);
74 if ($this->sqlitehelper->getDB()->res2count($resid) == 0) {
79 $result = $this->sqlitehelper->getDB()->res2arr($resid);
157 if(!$this->sqlitehelper->ready()) {
177 $ret = $this->sqlitehelper->getDB()->query($sql,$this->entry['pid']);
192 if (!$this->sqlitehelper->ready()) {
198 $this->sqlitehelper->getDB()->query(
213 $result = $this->sqlitehelper->getDB()->query(
289 if(!$this->sqlitehelper->ready()) return '';
292 $this->sqlitehelper->getDB()->quote_and_join($conf['blog'],
297 $this->sqlitehelper->getDB()->quote_and_join($conf['tags'],
308 $resid = $this->sqlitehelper->getDB()->query($query);
310 $count = $this->sqlitehelper->getDB()->res2count($resid);
612 if(!$this->sqlitehelper->ready()) return;
622 $res = $this->sqlitehelper->getDB()->query($query);
623 $res = $this->sqlitehelper->getDB()->res2arr($res);
631 $tags = $this->sqlitehelper->getDB()->quote_and_join($tags,',');
633 $this->sqlitehelper->getDB()->quote_and_join($blogs,
646 $res = $this->sqlitehelper->getDB()->query($query);
647 if(!$this->sqlitehelper->getDB()->res2count($res)) return; // no results found
648 $res = $this->sqlitehelper->getDB()->res2arr($res);
785 if(!$this->sqlitehelper->ready()) return array();
791 …$blog_query = '(blog = ' . $this->sqlitehelper->getDB()->quote_and_join($conf['blog'], ' OR blog =…
800 …$tag_query .= ' (tag = ' . $this->sqlitehelper->getDB()->quote_and_join($conf['tags'], ' OR tag = …
816 $resid = $this->sqlitehelper->getDB()->query($query);
817 return $this->sqlitehelper->getDB()->res2arr($resid);
916 if(!$this->sqlitehelper->ready()) return $related;
931 $res = $this->sqlitehelper->getDB()->query($query, $pid);
932 if ($this->sqlitehelper->getDB()->res2count($res) > 0) {
933 $result = $this->sqlitehelper->getDB()->res2arr($res);