Source of file QueryResult.php
Size: 1,793 Bytes - Last Modified: 2021-12-23T10:46:09+00:00
/var/www/docs.ssmods.com/process/src/code/SForce/QueryResult.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 | <?php namespace SForce\Wsdl; class QueryResult { /** * @var boolean */ protected $done = null; /** * @var QueryLocator */ protected $queryLocator = null; /** * @var sObject[] */ protected $records = null; /** * @var int */ protected $size = null; /** * @param boolean $done * @param int $size */ public function __construct($done = null, $size = null) { $this->done = $done; $this->size = $size; } /** * @return boolean */ public function getDone() { return $this->done; } /** * @param boolean $done * @return \SForce\Wsdl\QueryResult */ public function setDone($done) { $this->done = $done; return $this; } /** * @return QueryLocator */ public function getQueryLocator() { return $this->queryLocator; } /** * @param QueryLocator $queryLocator * @return \SForce\Wsdl\QueryResult */ public function setQueryLocator($queryLocator) { $this->queryLocator = $queryLocator; return $this; } /** * @return sObject[] */ public function getRecords() { return $this->records; } /** * @param sObject[] $records * @return \SForce\Wsdl\QueryResult */ public function setRecords(array $records = null) { $this->records = $records; return $this; } /** * @return int */ public function getSize() { return $this->size; } /** * @param int $size * @return \SForce\Wsdl\QueryResult */ public function setSize($size) { $this->size = $size; return $this; } } |