/** * * @param <string> $SortItem The ID of the report item on which to sort. * @param <SortDirectionEnum> $Direction A SortDirectionEnum value * containing the direction for the sort. * @param <bool> $Clear A Boolean value that indicates whether all * other existing sorts should be cleared. * @param <PaginationModeEnum> $PaginationMode The mode by which * the report is processed. * @param <string> $ReportItem The ID of the item on the page used * for positioning in the viewing area. * @return <ExecutionInfo2> */ public function Sort2($SortItem, $Direction, $Clear, $PaginationMode, &$ReportItem, &$ExecutionInfo) { $parameters = array("SortItem" => $SortItem, "Direction" => $Direction, "Clear" => $Clear, "PaginationMode" => $PaginationMode); try { $this->SetSessionId(true); $stdObject = $this->_soapHandle_Exe->Sort2($parameters); $sort2Response = SSRSTypeFactory::CreateSSRSObject('Sort2Response', $stdObject); $ReportItem = $sort2Response->ReportItem; $ExecutionInfo = $sort2Response->ExecutionInfo; return $sort2Response->PageNumber; } catch (SoapFault $soapFault) { self::ThrowReportException($soapFault); } }