Skip to content

Instantly share code, notes, and snippets.

@fddcddhdd
Created October 3, 2013 06:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fddcddhdd/6806065 to your computer and use it in GitHub Desktop.
Save fddcddhdd/6806065 to your computer and use it in GitHub Desktop.
plugin_info.php(プラグインの情報ファイル。ファイル名は固定)
<?php
/**
* プラグイン の情報クラス.
*/
class plugin_info{
/** プラグインコード(必須):プラグインを識別する為キーで、他のプラグインと重複しない一意な値である必要があります*/
static $PLUGIN_CODE = "PluginCodeForTest";
/** プラグイン名(必須):EC-CUBE上で表示されるプラグイン名. */
static $PLUGIN_NAME = "テスト用プラグイン";
/** プラグインバージョン(必須):プラグインのバージョン. */
static $PLUGIN_VERSION = "1.0";
/** 対応バージョン(必須):対応するEC-CUBEバージョン. */
static $COMPLIANT_VERSION = "2.13.0";
/** 作者(必須):プラグイン作者. */
static $AUTHOR = "開発部";
/** 説明(必須):プラグインの説明. */
static $DESCRIPTION = "説明用のプラグイン。インストールできるだけで何もしない";
/** プラグインURL:プラグイン毎に設定出来るURL(説明ページなど) */
static $PLUGIN_SITE_URL = "http://www.messiahworks.com/";
/** プラグイン作者URL:プラグイン毎に設定出来るURL(説明ページなど) */
static $AUTHOR_SITE_URL = "http://www.messiahworks.com/";
/** クラス名(必須):プラグインのクラス(拡張子は含まない) */
static $CLASS_NAME = "TestPlugin";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment