Lines Matching refs:pid

19     protected $pid;  variable in dokuwiki\\plugin\\struct\\meta\\AccessTable
57 public static function getPageAccess($tablename, $pid, $ts = 0) argument
60 return new AccessTablePage($schema, $pid, $ts, 0);
63 public static function getSerialAccess($tablename, $pid, $rid = 0) argument
66 return new AccessTableSerial($schema, $pid, 0, $rid);
79 * @param string $pid Page id to access
85 public static function bySchema(Schema $schema, $pid, $ts = 0, $rid = 0) argument
87 if (self::isTypePage($pid, $ts)) {
88 return new AccessTablePage($schema, $pid, $ts, $rid);
90 return new AccessTableGlobal($schema, $pid, $ts, $rid);
97 * @param string $pid Page id to access
104 public static function byTableName($tablename, $pid, $ts = 0, $rid = 0) argument
108 if (!self::isTypePage($pid, $ts)) {
113 return self::bySchema($schema, $pid, $ts, $rid);
120 * @param string $pid Page id
124 public function __construct($schema, $pid, $ts = 0, $rid = 0) argument
135 $this->pid = $pid;
160 return $this->pid;
224 $this->handleEmptyMulti($this->pid, $this->rid, $colrefs[$colname]);
442 $idColumn = self::isTypePage($this->pid, $this->ts) ? 'pid' : 'rid';
581 * @param string $pid
586 public static function isTypePage($pid, $rev) argument
594 * @param string $pid
599 public static function isTypeGlobal($pid, $rev) argument
601 return $pid === '';
607 * @param string $pid
612 public static function isTypeSerial($pid, $rev) argument
614 return $pid !== '' && $rev === 0;
621 * @param string $pid
625 protected function handleEmptyMulti($pid, $rid, $colref) argument
641 [$this->pid]