Lines Matching refs:table
40 $table = 'thread';
43 $table = 'thread';
52 $table = 'task';
56 $table = 'task';
67 $wl = wl("bez:$table:$id_key:$id") . $anchor;
92 $table = self::BEZ_TABLE_CODES[$code];
96 $res = $sqlite->query("SELECT COUNT(*) FROM $table WHERE id=?", $id);
99 throw new ValidationException(ucfirst($table) . " with id: $id doesn't exists.");
124 $table = self::BEZ_TABLE_CODES[$code];
136 if ($table == 'thread' || $table == 'task') {
140 $sql = "SELECT " . implode(',', $fields) . " FROM $table WHERE id LIKE ? LIMIT $max";
147 if ($table == 'thread' || $table == 'task') {