protected function checkToken($xml){
        if ($xml && $xml->NextToken && (string)$xml->HasNext != 'false' && (string)$xml->MoreResultsAvailable != 'false'){
            $this->tokenFlag = true;
            $this->options['NextToken'] = (string)$xml->NextToken;
        } else {
            unset($this->options['NextToken']);
            $this->tokenFlag = false;
        }
    }
protected function checkToken($xml){
        if ($xml && $xml->NextToken && (string)$xml->HasNext != 'false' && (string)$xml->MoreResultsAvailable != 'false'){
            $this->tokenFlag = true;
            $this->options['NextToken'] = (string)$xml->NextToken;
        } else {
            unset($this->options['NextToken']);
            $this->tokenFlag = false;
        }
    }
protected function checkToken ( $ xml ) { if ( $ xml && $ xml -> NextToken && ( string ) $ xml -> HasNext != 'false' && ( string ) $ xml -> MoreResultsAvailable != 'false' ) { $ this -> tokenFlag = true ; $ this -> options [ 'NextToken' ] = ( string ) $ xml -> NextToken ; } else { unset ( $ this -> options [ 'NextToken' ] ) ; $ this -> tokenFlag = false ; } }
Checks for a token and changes the proper options
@param SimpleXMLElement $xml <p>response data</p>
@return boolean <b>FALSE</b> if no XML data
Checks for a token and changes the proper options