public function returnWebServiceSerialisableData(){

        $serialisableMap = $this->__getSerialisablePropertyMap();

        unset($serialisableMap["trace"]);
        unset($serialisableMap["file"]);
        unset($serialisableMap["line"]);
        unset($serialisableMap["traceAsString"]);
        unset($serialisableMap["previous"]);
        $serialisableMap["code"] = $this->getSourceException() ? $this->getSourceException()["code"] : $this->getCode();
        $serialisableMap["message"] = $this->getSourceException() ? $this->getSourceException()["message"] : $this->getMessage();
        unset($serialisableMap["sourceException"]);

        return $serialisableMap;

    }
public function returnWebServiceSerialisableData(){

        $serialisableMap = $this->__getSerialisablePropertyMap();

        unset($serialisableMap["trace"]);
        unset($serialisableMap["file"]);
        unset($serialisableMap["line"]);
        unset($serialisableMap["traceAsString"]);
        unset($serialisableMap["previous"]);
        $serialisableMap["code"] = $this->getSourceException() ? $this->getSourceException()["code"] : $this->getCode();
        $serialisableMap["message"] = $this->getSourceException() ? $this->getSourceException()["message"] : $this->getMessage();
        unset($serialisableMap["sourceException"]);

        return $serialisableMap;

    }
public function returnWebServiceSerialisableData ( ) { $ serialisableMap = $ this -> __getSerialisablePropertyMap ( ) ; unset ( $ serialisableMap [ "trace" ] ) ; unset ( $ serialisableMap [ "file" ] ) ; unset ( $ serialisableMap [ "line" ] ) ; unset ( $ serialisableMap [ "traceAsString" ] ) ; unset ( $ serialisableMap [ "previous" ] ) ; $ serialisableMap [ "code" ] = $ this -> getSourceException ( ) ? $ this -> getSourceException ( ) [ "code" ] : $ this -> getCode ( ) ; $ serialisableMap [ "message" ] = $ this -> getSourceException ( ) ? $ this -> getSourceException ( ) [ "message" ] : $ this -> getMessage ( ) ; unset ( $ serialisableMap [ "sourceException" ] ) ; return $ serialisableMap ; }
Return web service serialisable data

@return array
Return web service serialisable data