示例#1
0
 /**
  * Get result data
  *
  * @param int $row
  *   The row number from the result that's being retrieved. Row numbers start at 0.
  * @param mixed(int|string) $field
  *   The name or offset of the field being retrieved.
  *   It can be the field's offset, the field's name, or the field's table dot field name (tablename.fieldname). If the column name has been aliased ('select foo as bar from...'), use the alias instead of the column name. If undefined, the first field is retrieved.
  * @return mixed
  *   The contents of one cell from a MySQL result set on success, or FALSE on failure.
  */
 public function result($row = 0, $field = 0)
 {
     return $this->dbObj->result($this->query, $row, $field);
 }