Home
last modified time | relevance | path

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

/plugin/structstatus/
H A Dsyntax.php112 $rids = (array) $access->getDataColumn($col)->getRawValue();
124 … $args['data-rid'] = implode(',', $rids); // FIXME this is wrong for multi fields in the widget?
132 if(in_array($status['rid'], $rids)) {
H A DStatus.php161 $rids = $search->getRids();
165 $rid = json_encode(["", (int)array_shift($rids)]);
/plugin/structpublish/action/
H A Dmigration.php147 $rids = array_column($latest, 'rid');
149 $sql = "UPDATE $this->table SET latest = 0 WHERE rid NOT IN (" . implode(', ', $rids) . ')';
176 $rids = array_column($latest, 'rid');
178 $sql = "UPDATE $this->table SET latest = 0 WHERE rid NOT IN (" . implode(', ', $rids) . ')';
/plugin/discussion/
H A Daction.php478 $rids = $comments[$cid]['replies'];
479 $comments = $this->_flattenThreads($comments, $rids);
1364 $rids = $comment['replies'];
1365 if (count($rids)) {
1366 $number = $number + $this->_countReplies($data, $rids);
1374 * @param array $rids
1377 protected function _countReplies(&$data, $rids) { argument
1379 foreach ($rids as $rid) {
1383 $rids = $data['comments'][$rid]['replies'];
1384 if (count($rids)) {
[all …]
/plugin/struct/action/
H A Dbureaucracy.php108 $rids = $search->getRids();
121 if (($pid && $pids[$i] === $pid) || ($rid && $rids[$i] === $rid)) {
/plugin/struct/types/
H A DLookup.php129 $rids = $search->getRids();
134 $val = json_encode([$pids[$i], (int)$rids[$i]], JSON_THROW_ON_ERROR);