Elgg\Database\UsersTable::getRow PHP Method

getRow() public method

Return the user specific details of a user by a row.
public getRow ( integer $guid ) : mixed
$guid integer The \ElggUser guid
return mixed
    public function getRow($guid)
    {
        $sql = "\n\t\t\tSELECT * FROM {$this->table}\n\t\t\tWHERE guid = :guid\n\t\t";
        $params = [':guid' => $guid];
        return $this->db->getDataRow($sql, null, $params);
    }