lib/DataSift/Push/Subscription.php
public function save()
    {
        // Can only update the name and output_params
        $params = array('id' => $this->getId(), 'name' => $this->getName());
        foreach ($this->_output_params as $key => $val) {
            $params[DataSift_Push_Definition::OUTPUT_PARAMS_PREFIX . $key] = $val;
        }

        // Call the API and pass the returned object into init to update this object
        $this->init($this->_user->post('push/update', $params));
    }
public function save()
    {
        // Can only update the name and output_params
        $params = array('id' => $this->getId(), 'name' => $this->getName());
        foreach ($this->_output_params as $key => $val) {
            $params[DataSift_Push_Definition::OUTPUT_PARAMS_PREFIX . $key] = $val;
        }

        // Call the API and pass the returned object into init to update this object
        $this->init($this->_user->post('push/update', $params));
    }
public function save ( ) { // Can only update the name and output_params $ params = array ( 'id' => $ this -> getId ( ) , 'name' => $ this -> getName ( ) ) ; foreach ( $ this -> _output_params as $ key => $ val ) { $ params [ DataSift_Push_Definition :: OUTPUT_PARAMS_PREFIX . $ key ] = $ val ; } // Call the API and pass the returned object into init to update this object $ this -> init ( $ this -> _user -> post ( 'push/update' , $ params ) ) ; }
Save changes to the name and output_parameters of this subscription.

@throws DataSift_Exception_InvalidData
@throws DataSift_Exception_APIError
@throws DataSift_Exception_AccessDenied
Save changes to the name and output_parameters of this subscription .