OSDN Git Service

MERGE: リビジョン1755のマージ。SkinクラスでActionsクラス以外のバックエンドクラスを利用可能に。
authorsakamocchi <o-takashi@sakamocchi.jp>
Sun, 15 Apr 2012 01:33:34 +0000 (10:33 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sun, 15 Apr 2012 01:33:34 +0000 (10:33 +0900)
commit2e3e66a2d59ddfebac59b7a54428304b2f0f91b0
tree945b10367c507cc4375da494abf2641577b206a8
parent47874d9ddd421e0be7f75fbaccb5e3f3c58479af
MERGE: リビジョン1755のマージ。SkinクラスでActionsクラス以外のバックエンドクラスを利用可能に。

管理画面をスキン/テンプレートシステムで構成する基盤として、Actionsクラスに関係するコードをSkinクラスからActionsクラスに移動し、関連する修正を行った。これにより、SkinクラスはActionsクラス以外のバックエンドクラスを利用可能となった。

新しいAdminクラスはこれに合わせて順次書きなおされる必要がある。

Revision 1755: CHANGE: modification to allow Skin class to utilize the
others than Actions class

Moving some codes related to Actions class into Actions class and add
some members and methods.
Actions::$default_actions
Actions::getDefinedActions()
Actions::$skin_type_friendly_names
Actions::getSkinTypeFriendlyNames()

Then adding some arguments to Skin::__construct() and
Skin::getFriendlyNames() to indicate an backend class and an event
identifier.

Add $template['friendly_names'] in Admin::action_skinoverview() and pass
it into listplug_table_skinlist() to display skin types.

http://nucleuscms.svn.sourceforge.net/viewvc/nucleuscms?view=revision&revision=1755
nucleus/libs/ACTIONS.php
nucleus/libs/AdminActions.php
nucleus/libs/SKIN.php
nucleus/libs/showlist.php