Auth_OpenID_SQLStore::resultToBool PHP Метод

resultToBool() публичный Метод

Converts a query result to a boolean. If the result is a database error according to $this->isError(), this returns false; otherwise, this returns true.
public resultToBool ( $obj )
    function resultToBool($obj)
    {
        if ($this->isError($obj)) {
            return false;
        } else {
            return true;
        }
    }