✏️ 正在编辑: LeoSlideshowStatus.php
路径:
/home/bpioifn/www/pigmentse/modules/leoslideshow/classes/LeoSlideshowStatus.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * 2007-2015 Leotheme * * NOTICE OF LICENSE * * Adds image, text or video to your homepage. * * DISCLAIMER * * @author leotheme <leotheme@gmail.com> * @copyright 2007-2015 Leotheme * @license http://leotheme.com - prestashop template provider */ if (!defined('_PS_VERSION_')) { # module validation exit; } class LeoSlideshowStatus extends Module { private static $instance = null; public static function getInstance() { if (self::$instance == null) { # module validation self::$instance = new LeoSlideshowStatus(); } return self::$instance; } const SLIDER_TARGET_SAME = 'same'; const SLIDER_TARGET_NEW = 'new'; public function getSliderTargetOption() { return array( array('id' => self::SLIDER_TARGET_SAME, 'name' => $this->l('Same Window')), array('id' => self::SLIDER_TARGET_NEW, 'name' => $this->l('New Window')), ); } const SLIDER_STATUS_DISABLE = '0'; const SLIDER_STATUS_ENABLE = '1'; const SLIDER_STATUS_COMING = '2'; const GROUP_STATUS_DISABLE = '0'; const GROUP_STATUS_ENABLE = '1'; }
💾 保存文件
← 返回文件管理器