Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
integration:foxycart:test_xml_write_to_file [2011/11/17 18:36] – external edit 127.0.0.1integration:foxycart:test_xml_write_to_file [2017/04/26 07:02] (current) – external edit 127.0.0.1
Line 4: Line 4:
 name          : FoxyCart XML to File Testing Script # the name of the integration name          : FoxyCart XML to File Testing Script # the name of the integration
 description   : Write the FoxyCart XML datafeed to a file description   : Write the FoxyCart XML datafeed to a file
-tags_tags     : xml, datafeed, testing # tags, separated by commas. don't include the "system" here.+tags          : xml, datafeed, testing # tags, separated by commas. don't include the "system" here.
 date_dt       : 2010-05-24 # the date in YYYY-MM-DD format date_dt       : 2010-05-24 # the date in YYYY-MM-DD format
 version       : 1.0 # if you have a version for your code, enter it here version       : 1.0 # if you have a version for your code, enter it here
Line 121: Line 121:
  * @return string  * @return string
  */  */
- function encrypt ($pwd, $data, $ispwdHex = 0)+ public static function encrypt ($pwd, $data, $ispwdHex = 0)
  {  {
  if ($ispwdHex)  if ($ispwdHex)
Line 166: Line 166:
  * @return string  * @return string
  */  */
- function decrypt ($pwd, $data, $ispwdHex = 0)+ public static function decrypt ($pwd, $data, $ispwdHex = 0)
  {  {
  return rc4crypt::encrypt($pwd, $data, $ispwdHex);  return rc4crypt::encrypt($pwd, $data, $ispwdHex);

Site Tools