setPages() public method

Sets number of pages.
public setPages ( integer $value ) : void
$value integer Value to set.
return void
Exemplo n.º 1
0
 /**
  * (non-PHPdoc)
  * @see PAGI\Client.IClient::faxReceive()
  */
 public function faxReceive($tiffFile)
 {
     $result = new FaxResult($this->exec('ReceiveFax', array($tiffFile)));
     $result->setResult($this->getFullVariable('FAXSTATUS') === 'SUCCESS');
     $result->setBitrate($this->getFullVariable('FAXBITRATE'));
     $result->setResolution($this->getFullVariable('FAXRESOLUTION'));
     $result->setPages($this->getFullVariable('FAXPAGES'));
     $result->setError($this->getFullVariable('FAXERROR'));
     $result->setRemoteStationId($this->getFullVariable('REMOTESTATIONID'));
     $result->setLocalStationId($this->getFullVariable('LOCALSTATIONID'));
     $result->setLocalHeaderInfo($this->getFullVariable('LOCALHEADERINFO'));
     return $result;
 }