当前位置: 首页>>代码示例>>PHP>>正文


PHP QuickBooks_Utilities::mask方法代码示例

本文整理汇总了PHP中QuickBooks_Utilities::mask方法的典型用法代码示例。如果您正苦于以下问题:PHP QuickBooks_Utilities::mask方法的具体用法?PHP QuickBooks_Utilities::mask怎么用?PHP QuickBooks_Utilities::mask使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在QuickBooks_Utilities的用法示例。


在下文中一共展示了QuickBooks_Utilities::mask方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: log

 /**
  * 
  * 
  * 
  * @param string $message
  * @param integer $level
  * @return boolean
  */
 public function log($message)
 {
     if ($this->_masking) {
         $message = QuickBooks_Utilities::mask($message);
     }
     if ($this->_debug) {
         print $message . QUICKBOOKS_CRLF;
     }
     if ($this->_driver) {
         // Send it to the driver to be logged
         $this->_driver->log($message, null, $level);
     }
     return true;
 }
开发者ID:rnewton,项目名称:quickbooks-php,代码行数:22,代码来源:Payments.php

示例2: _log

 /**
  * 
  * 
  * 
  * @param string $message
  * @param integer $level
  * @return boolean
  */
 protected function _log($message, $level = QUICKBOOKS_LOG_NORMAL)
 {
     if ($this->_masking) {
         $message = QuickBooks_Utilities::mask($message);
     }
     if ($this->_debug) {
         print $message . QUICKBOOKS_CRLF;
     }
     if ($this->_driver) {
         //die('logging to driver: [' . $level . ']');
         // Send it to the driver to be logged
         $this->_driver->log($message, null, $level);
     }
     return true;
 }
开发者ID:rnewton,项目名称:quickbooks-php,代码行数:23,代码来源:IPP.php

示例3: _log

 /**
  * Log a message to the error/debug log
  *
  * @param string $msg
  * @param string $ticket
  * @param integer $level
  * @return boolean
  */
 protected function _log($msg, $ticket, $level = QUICKBOOKS_LOG_NORMAL)
 {
     $Driver = $this->_driver;
     $msg = QuickBooks_Utilities::mask($msg);
     if ($Driver) {
         return $Driver->log($msg, $ticket, $level);
     }
     return false;
 }
开发者ID:djeraseit,项目名称:quickbooks-php,代码行数:17,代码来源:Server.php

示例4: _log

 /**
  * 
  * 
  * 
  * @param string $message
  * @param integer $level
  * @return boolean
  */
 protected function _log($message, $level = QUICKBOOKS_LOG_NORMAL)
 {
     if ($this->_masking) {
         // Mask credit card numbers, session tickets, and connection tickets
         $message = QuickBooks_Utilities::mask($message);
     }
     if ($this->_debug) {
         print $message . QUICKBOOKS_CRLF;
     }
     if ($this->_driver) {
         $this->_driver->log($message, $this->_ticket_session, $level);
     }
     return true;
 }
开发者ID:rme,项目名称:pm2qb,代码行数:22,代码来源:Oe.php

示例5: _log

 /**
  * 
  * 
  * 
  * @param string $message
  * @param integer $level
  * @return boolean
  */
 protected function _log($message)
 {
     if ($this->_masking) {
         $message = QuickBooks_Utilities::mask($message);
     }
     if ($this->_debug) {
         print $message . QUICKBOOKS_CRLF;
     }
     //
     $this->_log .= $message . QUICKBOOKS_CRLF;
     return true;
 }
开发者ID:scragz,项目名称:quickbooks-php,代码行数:20,代码来源:HTTP.php

示例6: _log

 protected function _log($msg, $lvl = null)
 {
     if ($this->_masking) {
         // Mask credit card numbers, session tickets, and connection tickets
         $msg = QuickBooks_Utilities::mask($msg);
     }
     return $this->_driver->log($msg, $lvl);
 }
开发者ID:Edgargm87,项目名称:efapcom,代码行数:8,代码来源:API.php

示例7: log

 /**
  * Write a message to the log (via the back-end driver) 
  * 
  * @param string $dsn		The DSN connection string to the logger
  * @param string $msg		The message to log
  * @param integer $lvl		The message log level
  * @return boolean			Whether or not the message was logged
  */
 public static function log($dsn, $msg, $lvl = QUICKBOOKS_LOG_NORMAL)
 {
     $Driver = QuickBooks_Utilities::driverFactory($dsn);
     // Mask important data
     $msg = QuickBooks_Utilities::mask($msg);
     return $Driver->log($msg, null, $lvl);
 }
开发者ID:djeraseit,项目名称:quickbooks-php,代码行数:15,代码来源:Utilities.php


注:本文中的QuickBooks_Utilities::mask方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。