1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace refill;
- class times_caller
- {
- private $mMchid;
- private $mSpec;
- private $mCardType;
- private $mReginNo;
- private $mCaller;
- public function __construct($mchid,$spec,$card_type,$regin_no,$caller)
- {
- $this->mMchid = $mchid;
- $this->mSpec = $spec;
- $this->mCardType = $card_type;
- $this->mReginNo = $regin_no;
- $this->mCaller = $caller;
- }
- public function __destruct()
- {
- $this->mCaller = null;
- }
- public function calc_times($quality)
- {
- return $this->mCaller->channeles($this->mMchid, $this->mSpec, $this->mCardType, $quality, $this->mReginNo);
- }
- }
|