📄 communication.phpm
字号:
<?phpabstract class Communication { protected $arRecipientCollection; private $strMessage; protected $strErrorMessage; protected $errorCode; abstract public function send(); public function __construct() { $this->strMessage = ""; } public function addRecipient($objRecipient, $strIdentifier = "") { $strRecipient = $objRecipient->getStringRepresentation(); if (!$strIdentifier) { $strIdentifier = $strRecipient; }; $this->arRecipientCollection->addItem($objRecipient, $strIdentifier); } public function removeRecipient($strIdentifier) { $this->arRecipientCollection->removeItem($strIdentifier); } protected function _setMessage($strMessage) { $this->strMessage = $strMessage; } protected function _getMessage() { return($this->strMessage); } public function getErrorMessage() { return($this->strErrorMessage); } public function getErrorCode() { return($this->errorCode); } }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -