original_string: public function saveIPMessage($data) {
          $response=CodeBank_ClientAPI::responseBase();
          
          if(!Permission::check('ADMIN')) {
              $response['status']='EROR';
              $response['message']=_t('CodeBankAPI.PERMISSION_DENINED', '_Permission Denied');
              return $response;
          }
          
          
          try {
              $codeBankConfig=CodeBankConfig::CurrentConfig();
              $codeBankConfig->IPMessage=$data->message;
              $codeBankConfig->write();
              
              
              $response['status']='HELO';
              $response['message']=_t('CodeBankAPI.IP_MESSAGE_CHANGE', '_Intellectual Property message changed successfully');
          }catch (Exception $e) {
              $response['status']='EROR';
              $response['message']=_t('CodeBankAPI.SERVER_ERROR', '_Server error has occured, please try again later');
          }
          
          return $response;
      }
code: public function saveIPMessage($data) {
          $response=CodeBank_ClientAPI::responseBase();
          
          if(!Permission::check('ADMIN')) {
              $response['status']='EROR';
              $response['message']=_t('CodeBankAPI.PERMISSION_DENINED', '_Permission Denied');
              return $response;
          }
          
          
          try {
              $codeBankConfig=CodeBankConfig::CurrentConfig();
              $codeBankConfig->IPMessage=$data->message;
              $codeBankConfig->write();
              
              
              $response['status']='HELO';
              $response['message']=_t('CodeBankAPI.IP_MESSAGE_CHANGE', '_Intellectual Property message changed successfully');
          }catch (Exception $e) {
              $response['status']='EROR';
              $response['message']=_t('CodeBankAPI.SERVER_ERROR', '_Server error has occured, please try again later');
          }
          
          return $response;
      }
code_tokens: public function saveIPMessage ( $ data ) { $ response = CodeBank_ClientAPI :: responseBase ( ) ; if ( ! Permission :: check ( 'ADMIN' ) ) { $ response [ 'status' ] = 'EROR' ; $ response [ 'message' ] = _t ( 'CodeBankAPI.PERMISSION_DENINED' , '_Permission Denied' ) ; return $ response ; } try { $ codeBankConfig = CodeBankConfig :: CurrentConfig ( ) ; $ codeBankConfig -> IPMessage = $ data -> message ; $ codeBankConfig -> write ( ) ; $ response [ 'status' ] = 'HELO' ; $ response [ 'message' ] = _t ( 'CodeBankAPI.IP_MESSAGE_CHANGE' , '_Intellectual Property message changed successfully' ) ; } catch ( Exception $ e ) { $ response [ 'status' ] = 'EROR' ; $ response [ 'message' ] = _t ( 'CodeBankAPI.SERVER_ERROR' , '_Server error has occured, please try again later' ) ; } return $ response ; }
docstring: Saves the IP Message
  @param {stdClass} $data Data passed from ActionScript
  @return {array} Returns a standard response array
docstring_tokens: Saves the IP Message