public function webHostReport(array $params) {

        if (empty($params['lastResultNo'])) {
            $params['lastResultNo'] = 10;
        }

        // Response is always new line encoded
        $responseArray = $this
            ->communicationAdapter
            ->sendToApi(
                self::COMODO_WEB_HOST_REPORT,
                $params,
                CommunicationAdapter::RESPONSE_URL_ENCODED
            );
        if ($responseArray['error_code'] == 0) {
            $result = new WebHostReportResult();
            $result->importEntries($responseArray);
            return $result;
        } else {
            throw $this->createException($responseArray);
        }
    }
public function webHostReport(array $params) {

        if (empty($params['lastResultNo'])) {
            $params['lastResultNo'] = 10;
        }

        // Response is always new line encoded
        $responseArray = $this
            ->communicationAdapter
            ->sendToApi(
                self::COMODO_WEB_HOST_REPORT,
                $params,
                CommunicationAdapter::RESPONSE_URL_ENCODED
            );
        if ($responseArray['error_code'] == 0) {
            $result = new WebHostReportResult();
            $result->importEntries($responseArray);
            return $result;
        } else {
            throw $this->createException($responseArray);
        }
    }
public function webHostReport ( array $ params ) { if ( empty ( $ params [ 'lastResultNo' ] ) ) { $ params [ 'lastResultNo' ] = 10 ; } // Response is always new line encoded $ responseArray = $ this -> communicationAdapter -> sendToApi ( self :: COMODO_WEB_HOST_REPORT , $ params , CommunicationAdapter :: RESPONSE_URL_ENCODED ) ; if ( $ responseArray [ 'error_code' ] == 0 ) { $ result = new WebHostReportResult ( ) ; $ result -> importEntries ( $ responseArray ) ; return $ result ; } else { throw $ this -> createException ( $ responseArray ) ; } }
Function to call WebHostReport api

https://secure.comodo.net/products/!WebHostReport

Details for params usage:
https://secure.comodo.net/api/pdf/latest/WebHostReport.pdf

@param array $params

@return WebHostReportResult

@throws Model\Exception\AccountException
@throws Model\Exception\ArgumentException
@throws Model\Exception\CSRException
@throws Model\Exception\RequestException
@throws Model\Exception\UnknownApiException
@throws Model\Exception\UnknownException
Function to call WebHostReport api