Lines Matching defs:type
80 * @param string $type The type of access to log ('view','edit')
83 public function log_groups($type, $groups) {
98 $type = addslashes($type);
101 (`dt`, `type`, `group`) VALUES ";
104 $sql .= "( NOW(), '$type', '$group' ),";
120 public function log_externalsearch($referer, &$type) {
140 $type = 'search';
153 if($type != 'search') foreach(array('search', 'query', 'q', 'keywords', 'keyword') as $k) {
160 $type = 'search';
165 if($type != 'search') return;
392 * @param string $mime the media's mime type
443 public function log_edit($page, $type) {
451 $type = addslashes($type);
456 type = '$type',
472 public function log_login($type, $user = '') {
479 $type = addslashes($type);
483 type = '$type',