Lines Matching refs:result

172             $result = $this->query($this->getConf('check-pass'), $userdata);
173 if ($result === false) return false;
174 return (count($result) == 1);
423 $result = $this->query($this->getConf('list-users'), $filter);
424 if (!$result) return array();
426 if (is_array($result)) {
427 foreach ($result as $row) {
435 $this->debugMsg("list-users statement did not return a list of result", -1, __LINE__);
459 $result = $this->query($this->getConf('count-users'), $filter);
460 if (!$result || !isset($result[0]['count'])) {
463 return (int)$result[0]['count'];
476 $result = $this->query($sql, array(':group' => $group));
478 if ($result === false) return false;
513 $result = $this->query($sql, array(':user' => $user));
514 if (!$result) return false;
516 if (count($result) > 1) {
521 $data = array_shift($result);
587 $result = $this->query($sql, $userdata);
588 if ($result === false) return false;
591 if (is_array($result)) {
592 foreach ($result as $row) {
600 $this->debugMsg("select-user-groups statement did not return a list of result", -1, __LINE__);
618 $result = $this->query($sql);
619 if ($result === false) return false;
622 if (is_array($result)) {
623 foreach ($result as $row) {
629 // relayout result with group name as key
634 $this->debugMsg("select-groups statement did not return a list of result", -1, __LINE__);
660 $result = $this->query($sql, $data);
661 if ($result === false) return false;
676 $result = $this->query($sql, $data);
677 if ($result === false) return false;
686 * @return array|int|bool The result as associative array for SELECTs, affected rows for others, false on error
699 $result = false;
717 // only report last line's result
722 $result = $sth->fetchAll();
724 $result = $sth->rowCount();
747 return $result;
806 * @param bool $htmlescape Should the result be escaped for output in HTML?