events.php
来自「一、修改产品详细页面的附件块 二、添加上浏览历史模块 三、在后台加入自定义首」· PHP 代码 · 共 42 行
PHP
42 行
<?php/** * Swift Mailer Events Layer * 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 *//** * Provides core functionality for Swift generated events for plugins * @package Swift_Events * @author Chris Corbyn <chris@w3style.co.uk> */abstract class Swift_Events{ /** * An instance of Swift * @var Swift */ protected $swift = null; /** * Provide a reference to te currently running Swift this event was generated from * @param Swift */ public function setSwift(Swift $swift) { $this->swift = $swift; } /** * Get the current instance of swift * @return Swift */ public function getSwift() { return $this->swift; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?