Lines Matching refs:cid
25 $cid = $_REQUEST['cid'];
26 if (is_array($cid)) $cid = array_keys($cid);
34 $action->save($cid, '');
38 $action->save($cid, '', 'show');
42 $action->save($cid, '', 'hide');
199 foreach ($data['comments'] as $cid => $comment) {
200 $this->_addComment($cid, $data, $result);
213 * @param string $cid
219 function _addComment($cid, &$data, &$result, $parent = '', $level = 1) { argument
220 if (!is_array($data['comments'][$cid])) return; // corrupt datatype
221 $comment = $data['comments'][$cid];
225 $comment['id'] = $cid;
232 $this->_addComment($rid, $data, $result, $cid, $level + 1);