lib/DataSift/Push/Definition.php
public function validate()
    {
        $retval = false;

        $params = array('output_type' => $this->_output_type);
        foreach ($this->_output_params as $key => $val) {
            $params[self::OUTPUT_PARAMS_PREFIX . $key] = $val;
        }

        try {
            $retval = $this->_user->post('push/validate', $params);
        } catch (DataSift_Exception_APIError $e) {
            throw new DataSift_Exception_InvalidData($e->getMessage());
        }
    }
public function validate()
    {
        $retval = false;

        $params = array('output_type' => $this->_output_type);
        foreach ($this->_output_params as $key => $val) {
            $params[self::OUTPUT_PARAMS_PREFIX . $key] = $val;
        }

        try {
            $retval = $this->_user->post('push/validate', $params);
        } catch (DataSift_Exception_APIError $e) {
            throw new DataSift_Exception_InvalidData($e->getMessage());
        }
    }
public function validate ( ) { $ retval = false ; $ params = array ( 'output_type' => $ this -> _output_type ) ; foreach ( $ this -> _output_params as $ key => $ val ) { $ params [ self :: OUTPUT_PARAMS_PREFIX . $ key ] = $ val ; } try { $ retval = $ this -> _user -> post ( 'push/validate' , $ params ) ; } catch ( DataSift_Exception_APIError $ e ) { throw new DataSift_Exception_InvalidData ( $ e -> getMessage ( ) ) ; } }
Validate the output type and parameters with the DataSift API.

@throws DataSift_Exception_AccessDenied
@throws DataSift_Exception_InvalidData
Validate the output type and parameters with the DataSift API .