OSDN Git Service

add ACS webapp, sql, htdocs
[acs/acs.git] / webapp / modules / Public / actions / UserRankingAction.class.php
diff --git a/webapp/modules/Public/actions/UserRankingAction.class.php b/webapp/modules/Public/actions/UserRankingAction.class.php
new file mode 100644 (file)
index 0000000..161597b
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+// $Id: UserRankingAction.class.php,v 1.1 2006/03/10 11:45:11 w-ota Exp $
+
+class UserRankingAction extends BaseAction {
+
+       public function execute ()
+       {
+               $context = &$this->getContext();
+               $user = $context->getUser();
+               $request = $context->getRequest();
+               $acs_user_info_row = $user->getAttribute('acs_user_info_row');
+
+               // ¥æ¡¼¥¶¥é¥ó¥­¥ó¥°¾ðÊó°ìÍ÷¤ò¼èÆÀ¤¹¤ë
+               $ranking_user_info_row_array = ACSUser::get_ranking_user_info_row_array();
+
+               // set
+               $request->setAttribute('ranking_user_info_row_array', $ranking_user_info_row_array);
+
+               return View::INPUT;
+       }
+       
+       /**
+        * Ç§¾Ú¥Á¥§¥Ã¥¯¤ò¹Ô¤¦¤«
+        * ¥¢¥¯¥·¥ç¥ó¤ò¼Â¹Ô¤¹¤ëÁ°¤Ë¡¢Ç§¾Ú¥Á¥§¥Ã¥¯¤¬É¬Íפ«ÀßÄꤹ¤ë
+        * @access  public
+        * @return  boolean Ç§¾Ú¥Á¥§¥Ã¥¯Í­Ìµ¡Êtrue:ɬÍס¢false:ÉÔÍסË
+        */
+       public function isSecure()
+       {
+               return false;
+       }
+}
+
+?>