setCount() public method

Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items. Maximum value: 20.
public setCount ( integer $count )
$count integer
コード例 #1
0
 public static function createPaymentHistory()
 {
     $history = new PaymentHistory();
     $history->setCount(self::$count);
     $history->setNext_id(self::$nextId);
     $history->setPayments(array(PaymentTest::createPayment()));
     return $history;
 }