Lines Matching refs:sqlitehelper

13     private $sqlitehelper;  variable in helper_plugin_blogtng_tags
23 $this->sqlitehelper = plugin_load('helper', 'blogtng_sqlite');
62 if(!$this->sqlitehelper->ready()) {
71 $resid = $this->sqlitehelper->getDB()->query($query, $this->pid);
77 if ($this->sqlitehelper->getDB()->res2count($resid) == 0) {
82 $tags_from_db = $this->sqlitehelper->getDB()->res2arr($resid);
98 if(!$this->sqlitehelper->ready()) {
108 $resid = $this->sqlitehelper->getDB()->query($query, $pid);
114 $tagcount = $this->sqlitehelper->getDB()->res2row($resid, 0);
125 if(!$this->sqlitehelper->ready()) return false;
133 $resid = $this->sqlitehelper->getDB()->query($query);
135 return $this->sqlitehelper->getDB()->res2arr($resid);
144 if (!$this->sqlitehelper->ready()) return;
147 if (!$this->sqlitehelper->getDB()->query($query)) {
148 $this->sqlitehelper->getDB()->query('ROLLBACK TRANSACTION');
152 if (!$this->sqlitehelper->getDB()->query($query, $this->pid)) {
153 $this->sqlitehelper->getDB()->query('ROLLBACK TRANSACTION');
158 if (!$this->sqlitehelper->getDB()->query($query, $this->pid, $tag)) {
159 $this->sqlitehelper->getDB()->query('ROLLBACK TRANSACTION');
164 if (!$this->sqlitehelper->getDB()->query($query)) {
165 $this->sqlitehelper->getDB()->query('ROLLBACK TRANSACTION');
184 if(!$this->sqlitehelper->ready()) return null;
194 … $tag_clauses['AND'][] = 'tag = ' . $this->sqlitehelper->getDB()->quote_string(substr($tag, 1));
196 … $tag_clauses['NOT'][] = 'tag != ' . $this->sqlitehelper->getDB()->quote_string(substr($tag, 1));
198 $tag_clauses['OR'][] = 'tag = ' . $this->sqlitehelper->getDB()->quote_string($tag);