src/libs/xml_creater.php
public function create_resumpToken($token, $expirationdatetime, $num_rows, $cursor=null)
    {
        $resump_node = $this->addChild($this->verbNode, "resumptionToken", $token);
        if (isset($expirationdatetime)) {
            $resump_node->setAttribute("expirationDate", $expirationdatetime);
        }
        $resump_node->setAttribute("completeListSize", $num_rows);
        $resump_node->setAttribute("cursor", $cursor);
    }
public function create_resumpToken($token, $expirationdatetime, $num_rows, $cursor=null)
    {
        $resump_node = $this->addChild($this->verbNode, "resumptionToken", $token);
        if (isset($expirationdatetime)) {
            $resump_node->setAttribute("expirationDate", $expirationdatetime);
        }
        $resump_node->setAttribute("completeListSize", $num_rows);
        $resump_node->setAttribute("cursor", $cursor);
    }
public function create_resumpToken ( $ token , $ expirationdatetime , $ num_rows , $ cursor = null ) { $ resump_node = $ this -> addChild ( $ this -> verbNode , "resumptionToken" , $ token ) ; if ( isset ( $ expirationdatetime ) ) { $ resump_node -> setAttribute ( "expirationDate" , $ expirationdatetime ) ; } $ resump_node -> setAttribute ( "completeListSize" , $ num_rows ) ; $ resump_node -> setAttribute ( "cursor" , $ cursor ) ; }
If there are too many records request could not finished a resumpToken is generated to let harvester know

\param $token Type: string. A random number created somewhere?
\param $expirationdatetime Type: string. A string representing time.
\param $num_rows Type: integer. Number of records retrieved.
\param $cursor Type: string. Cursor can be used for database to retrieve next time.
If there are too many records request could not finished a resumpToken is generated to let harvester know