public function fetch()
    {
        $sessionToken = null;
        if (AVUser::getCurrentUser())
        {
            $sessionToken = AVUser::getCurrentUser()->getSessionToken();
        }
        $response = AVClient::_request('GET', '/classes/' . $this->className . '/' . $this->objectId, $sessionToken);
        $this->_mergeAfterFetch($response);
    }
public function fetch()
    {
        $sessionToken = null;
        if (AVUser::getCurrentUser())
        {
            $sessionToken = AVUser::getCurrentUser()->getSessionToken();
        }
        $response = AVClient::_request('GET', '/classes/' . $this->className . '/' . $this->objectId, $sessionToken);
        $this->_mergeAfterFetch($response);
    }
public function fetch ( ) { $ sessionToken = null ; if ( AVUser :: getCurrentUser ( ) ) { $ sessionToken = AVUser :: getCurrentUser ( ) -> getSessionToken ( ) ; } $ response = AVClient :: _request ( 'GET' , '/classes/' . $ this -> className . '/' . $ this -> objectId , $ sessionToken ) ; $ this -> _mergeAfterFetch ( $ response ) ; }
Fetch the whole object from the server and update the local object.

@return null
Fetch the whole object from the server and update the local object .