Home
last modified time | relevance | path

Searched refs:sqlitehelper (Results 1 – 6 of 6) sorted by relevance

/plugin/blogtng/helper/
Dtags.php13 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;
[all …]
Dcomments.php18 private $sqlitehelper; variable in helper_plugin_blogtng_comments
26 $this->sqlitehelper = plugin_load('helper', 'blogtng_sqlite');
50 $resid = $this->sqlitehelper->getDB()->query($query, $cid);
54 if ($this->sqlitehelper->getDB()->res2count($resid) == 0) {
57 $result = $this->sqlitehelper->getDB()->res2arr($resid);
70 if (!$this->sqlitehelper->ready()) return 0;
88 $res = $this->sqlitehelper->getDB()->query($sql,$args);
89 $res = $this->sqlitehelper->getDB()->res2row($res,0);
99 if (!$this->sqlitehelper->ready()) {
109 $this->sqlitehelper->getDB()->query($query,
[all …]
Dentry.php22 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(
[all …]
Dlinkback.php45 $sqlitehelper = plugin_load('helper', 'blogtng_sqlite');
46 if (!$sqlitehelper->ready()) return false;
63 $resid = $sqlitehelper->getDB()->query($query, $comment->getPid());
68 $comments = $sqlitehelper->getDB()->res2arr($resid);
/plugin/blogtng/
Dadmin.php19 protected $sqlitehelper = null; variable in admin_plugin_blogtng
56 $this->sqlitehelper = plugin_load('helper', 'blogtng_sqlite');
252 if(!$this->sqlitehelper->ready()) return;
254 $db = $this->sqlitehelper->getDB();
349 $items = $this->sqlitehelper->getDB()->res2arr($resid);
489 if(!$this->sqlitehelper->ready()) return;
515 $res = $this->sqlitehelper->getDB()->query($sqlcount);
516 $count = $this->sqlitehelper->getDB()->res2single($res);
518 $resid = $this->sqlitehelper->getDB()->query($sqlselect);
/plugin/sqlite/
H A DSQLiteDB.php42 public function __construct($dbname, $schemadir, $sqlitehelper = null) argument
53 $this->helper = $sqlitehelper;