Lines Matching refs:rid
20 protected $rid;
63 public static function getSerialAccess($tablename, $pid, $rid = 0)
66 return new AccessTableSerial($schema, $pid, 0, $rid);
69 public static function getGlobalAccess($tablename, $rid = 0)
72 return new AccessTableGlobal($schema, '', 0, $rid);
81 * @param int $rid Row id, 0 for page type data, otherwise autoincrement
85 public static function bySchema(Schema $schema, $pid, $ts = 0, $rid = 0)
88 return new AccessTablePage($schema, $pid, $ts, $rid);
90 return new AccessTableGlobal($schema, $pid, $ts, $rid);
99 * @param int $rid Row id, 0 for page type data, otherwise autoincrement
104 public static function byTableName($tablename, $pid, $ts = 0, $rid = 0)
113 return self::bySchema($schema, $pid, $ts, $rid);
122 * @param int $rid Row id: 0 for pages, autoincremented for other types
124 public function __construct($schema, $pid, $ts = 0, $rid = 0)
136 $this->rid = $rid;
164 * The current rid
170 return $this->rid;
224 $this->handleEmptyMulti($this->pid, $this->rid, $colrefs[$colname]);
442 $idColumn = self::isTypePage($this->pid, $this->ts) ? 'pid' : 'rid';
583 * @param int $rid
596 * @param int $rid
609 * @param int $rid
622 * @param int $rid
625 protected function handleEmptyMulti($pid, $rid, $colref)
639 "DELETE FROM $this->mtable WHERE pid = ? AND rid = $this->rid AND rev = 0 AND colref IN (" .