__construct ( $limit )

Constructs a new instance of this class.

Access

public

Parameters

Parameter

Type

Required

Description

$limit

integer

Optional

The size of the request window. Defaults to unlimited.

Returns

Type

Description

boolean

false if no valid values are set, otherwise true.

Source

Method defined in utilities/batchrequest.class.php | Toggle source view (7 lines) | View on GitHub

public function __construct($limit = null)
{
    $this->queue = array();
    $this->limit = $limit ? $limit : -1;
    $this->credentials = new CFCredential(array());
    return $this;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback