function _requestKeyValue($method = 'POST') { $keyArray = array(); foreach ($this->mObjectKeyFields as $key) { $attrib = $this->mObjectHandler->getKeyAttrib($key); if ($attrib == XOBJ_DTYPE_INT) { $this->mRequest->defParam($key, $method, 'int', NBFRAME_NO_DEFAULT_PARAM, true); } else { if ($attrib == XOBJ_DTYPE_FLOAT) { $this->mRequest->defParam($key, $method, 'float', NBFRAME_NO_DEFAULT_PARAM, true); } else { $this->mRequest->defParam($key, $method, 'var', NBFRAME_NO_DEFAULT_PARAM, true); } } if ($this->mRequest->hasError()) { return null; } $keyArray[$key] = $this->mRequest->getParam($key); } return $keyArray; }