⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commandevent.php

📁 一、修改产品详细页面的附件块 二、添加上浏览历史模块 三、在后台加入自定义首页、自定义页头、自定义页脚内容功能 四、在后台修改网站全局CSS样式文件功能 五、在后台修改每个模块的模板内容功能
💻 PHP
字号:
<?php/** * Swift Mailer Command Event * Please read the LICENSE file * @copyright Chris Corbyn <chris@w3style.co.uk> * @author Chris Corbyn <chris@w3style.co.uk> * @package Swift_Events * @license GNU Lesser General Public License *//** * Generated when Swift is sending a command * @package Swift_Events * @author Chris Corbyn <chris@w3style.co.uk> */class Swift_Events_CommandEvent extends Swift_Events{  /**   * Contains the command being sent   * @var string   */  protected $string = null;  /**   * Contains the expected response code (or null)   * @var int   */  protected $code = null;    /**   * Constructor   * @param string The command being sent   * @param int The expected code   */  public function __construct($string, $code=null)  {    $this->setString($string);    $this->setCode($code);  }  /**   * Set the command being sent (without CRLF)   * @param string The command being sent   */  public function setString($string)  {    $this->string = (string) $string;  }  /**   * Get the command being sent   * @return string   */  public function getString()  {    return $this->string;  }  /**   * Set response code which is expected   * @param int The response code   */  public function setCode($code)  {    if ($code === null) $this->code = null;    else $this->code = (int) $code;  }  /**   * Get the expected response code   * @return int   */  public function getCode()  {    return $this->code;  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -