Lines Matching refs:cids
425 $cids = [];
428 $cids = array_keys($data['comments']);
432 if ($cnt > 1 || ($cnt == 1 && $data['comments'][$cids[0]]['show'] == 1)
484 * @param null|array $cids comment ids of replies, which should be flatten
487 protected function flattenThreads($comments, $cids = null) argument
489 if (is_null($cids)) {
490 $cids = array_keys($comments);
493 foreach ($cids as $cid) {
638 * @param array|string $cids array with comment ids to save, or a single string comment id
643 public function save($cids, $raw, $act = null) argument
647 if (empty($cids)) return false; // do nothing if we get no comment id
668 if (!is_array($cids)) {
669 $cids = [$cids];
671 foreach ($cids as $cid) {