Beispiel #1
0
 /**
  * deserialize
  * @see Amfphp_Core_Common_IDeserializer
  * @param array $getData
  * @param array $postData
  * @param string $rawPostData
  * @return string
  */
 public function deserialize(array $getData, array $postData, $rawPostData)
 {
     $deserializer = new Amfphp_Core_Amf_Deserializer();
     //note: this has to be done here and not in the constructor to avoid
     //disabling scanning when it's another handler that ends up handling the request
     $this->voConverter = Amfphp_Core_FilterManager::getInstance()->callFilters(Amfphp_Core_Gateway::FILTER_VO_CONVERTER, null);
     if ($this->voConverter) {
         $this->voConverter->setScanEnabled(false);
         $deserializer->voConverter = $this->voConverter;
     }
     $requestPacket = $deserializer->deserialize($getData, $postData, $rawPostData);
     return $requestPacket;
 }