public function getByHashes($md5Id, $md5Pw)
    {
        if (empty($md5Id) || empty($md5Pw)) {
            return false;
        }

        $data = [
            'where' => [
                [
                    'column' => $this->tableAlias . '.id_md5',
                    'value'  => $md5Id,
                ],
                [
                    'column' => $this->tableAlias . '.password_md5',
                    'value'  => $md5Pw,
                ],
            ],
        ];

        $user = $this->getAll(null, null, $data);

        return empty($user) ? false : $user[0];
    }
public function getByHashes($md5Id, $md5Pw)
    {
        if (empty($md5Id) || empty($md5Pw)) {
            return false;
        }

        $data = [
            'where' => [
                [
                    'column' => $this->tableAlias . '.id_md5',
                    'value'  => $md5Id,
                ],
                [
                    'column' => $this->tableAlias . '.password_md5',
                    'value'  => $md5Pw,
                ],
            ],
        ];

        $user = $this->getAll(null, null, $data);

        return empty($user) ? false : $user[0];
    }
public function getByHashes ( $ md5Id , $ md5Pw ) { if ( empty ( $ md5Id ) || empty ( $ md5Pw ) ) { return false ; } $ data = [ 'where' => [ [ 'column' => $ this -> tableAlias . '.id_md5' , 'value' => $ md5Id , ] , [ 'column' => $ this -> tableAlias . '.password_md5' , 'value' => $ md5Pw , ] , ] , ] ; $ user = $ this -> getAll ( null , null , $ data ) ; return empty ( $ user ) ? false : $ user [ 0 ] ; }
Get a specific user by a MD5 hash of their ID and password

@param string $md5Id The MD5 hash of their ID
@param string $md5Pw The MD5 hash of their password

@return mixed         stdClass on success, false on failure
Get a specific user by a MD5 hash of their ID and password