當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Transaction::__construct方法代碼示例

本文整理匯總了PHP中Transaction::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Transaction::__construct方法的具體用法?PHP Transaction::__construct怎麽用?PHP Transaction::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Transaction的用法示例。


在下文中一共展示了Transaction::__construct方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: array

 function __construct($text = null, array $params = array())
 {
     if (!is_null($text)) {
         $this->setText($text);
     }
     parent::__construct($params);
 }
開發者ID:Kinetical,項目名稱:Kinesis,代碼行數:7,代碼來源:Query.php

示例2:

 function __construct($args)
 {
     $args['name'] = 'fund';
     parent::__construct($args);
 }
開發者ID:kakarot1991,項目名稱:paid-to-click-cms,代碼行數:5,代碼來源:FundAccount.php

示例3: __construct

 public function __construct($paymentDetails = NULL)
 {
     parent::__construct($paymentDetails);
 }
開發者ID:mgazelle,項目名稱:ideal,代碼行數:4,代碼來源:Ideal.php

示例4:

 /**
  * key-value pair to initialize the class's attributes
  * @param array $args
  */
 function __construct($args)
 {
     $args['name'] = 'cashout';
     parent::__construct($args);
 }
開發者ID:kakarot1991,項目名稱:paid-to-click-cms,代碼行數:9,代碼來源:Cashout.php

示例5: __construct

 /**
  * GetTerminalListTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->action_type = Paymentree::ACTION_TYPE_TERMINAL_CLOSE_LIST;
 }
開發者ID:travis-bradbury,項目名稱:php-paymentree-api,代碼行數:8,代碼來源:GetTerminalListTransaction.php

示例6: __construct

 /**
  * PaymentRefundTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }
開發者ID:travis-bradbury,項目名稱:php-paymentree-api,代碼行數:7,代碼來源:PaymentRefundTransaction.php

示例7: __construct

 /**
  * QueryVoidInvoiceNumberTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->action_type = Paymentree::ACTION_TYPE_QUERY_VOID;
 }
開發者ID:travis-bradbury,項目名稱:php-paymentree-api,代碼行數:8,代碼來源:QueryVoidInvoiceNumberTransaction.php

示例8: __construct

 public function __construct(StockAccount $sourceAcc, StockAccount $destinationAcc, TransactionType $ttype, ResourceType $rtype, Quantity $quantity, $description)
 {
     parent::__construct($sourceAcc, $destinationAcc, $ttype, $rtype, $quantity, $description);
     //e.g supplier account, warehouse account, 'Goods Received Inwards', Samsung Fridge BF-X450, 14 items, 'delivery from supplier xxxx'
 }
開發者ID:xander-mbaka,項目名稱:momentum,代碼行數:5,代碼來源:Inventory.php

示例9:

 function __construct(Money $amount, $description, TransactionType $txtype)
 {
     //$ttype === posting protocol/rule
     $this->transactionType = $txtype;
     parent::__construct($amount, $description);
 }
開發者ID:xander-mbaka,項目名稱:momentum,代碼行數:6,代碼來源:Accounting.php

示例10: __construct

 /**
  * CommitTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->action_type = Paymentree::ACTION_TYPE_COMMIT;
 }
開發者ID:travis-bradbury,項目名稱:php-paymentree-api,代碼行數:8,代碼來源:CommitTransaction.php

示例11: __construct

 /**
  * BatchCloseTransaction constructor.
  * @param string $terminal_number
  */
 public function __construct($terminal_number = 'all')
 {
     parent::__construct();
     $this->setTerminal($terminal_number);
     $this->action_type = Paymentree::ACTION_TYPE_TERMINAL_CLOSE;
 }
開發者ID:travis-bradbury,項目名稱:php-paymentree-api,代碼行數:10,代碼來源:BatchCloseTransaction.php


注:本文中的Transaction::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。