summarycontroller.class.php

来自「一个用PHP编写的」· PHP 代码 · 共 42 行

PHP
42
字号
<?php	lt_include( PLOG_CLASS_PATH."class/controller/controller.class.php" );		/**	 * \ingroup Controller	 *	 * Basic controller for the summary. It specifies the action map as well as as the folder	 * where action classes for the summary can be found.	 *	 * @see Controller	 */		class SummaryController extends Controller	{		function SummaryController()		{						// action map array for the controller			$actions = Array(			    "Default" => "SummaryDefaultAction",			    "BlogList" => "BlogListAction",			    "PostList" => "PostListAction",				"UserList" => "UserListAction",					"UserProfile" => "UserProfileAction",				"BlogProfile" => "BlogProfileAction",				"checkUserNameAjax" => "checkUserNameAjaxAction",				"Register" => "SummaryRegistrationAction",				"resetPasswordForm" => "SummaryShowResetPasswordForm",				"sendResetEmail" => "SummarySendResetEmail",				"setNewPassword" => "SummarySetNewPassword",				"updatePassword" => "SummaryUpdatePassword",				"rss" => "SummaryRssAction",				"summarySearch" => "SummarySearchAction",				"activeAccount" => "ActiveAccountAction",				"display" => "SummaryCustomPageAction"			);			$this->Controller( $actions, "op" );			$this->setActionFolderPath( PLOG_CLASS_PATH."class/summary/action/" );		}	}	?>

⌨️ 快捷键说明

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