OSDN Git Service

add ACS webapp, sql, htdocs
[acs/acs.git] / webapp / modules / System / views / EditUserInputView.class.php
diff --git a/webapp/modules/System/views/EditUserInputView.class.php b/webapp/modules/System/views/EditUserInputView.class.php
new file mode 100644 (file)
index 0000000..e6cdf8c
--- /dev/null
@@ -0,0 +1,41 @@
+<?php
+/**
+ * ¥·¥¹¥Æ¥à¡¡¥æ¡¼¥¶´ÉÍý¡¡¥æ¡¼¥¶¾ðÊóÊѹ¹²èÌÌ view¥¯¥é¥¹
+ * @package  acs/webapp/modules/System/views
+ * EditUserView_input
+ * @author   akitsu  
+ * @since    PHP 4.0
+ */
+// $Id: EditUserView_input.class.php,v 1.1 2006/03/13 07:04:58 z-akitsu Exp $
+
+
+class EditUserInputView extends BaseView
+{
+       function execute() {
+               $context = $this->getContext();
+               $controller = $context->getController();
+               $request = $context->getRequest();
+               $user = $context->getUser();
+               
+               $acs_user_info_row = $user->getAttribute('acs_user_info_row');
+               $user_info_row = $request->getAttribute('user_info_row');
+
+               // URL
+               $action_url = $this->getControllerPath('System', 'EditUser');
+               $back_url = $this->getControllerPath('System', 'UserList');
+
+               // ¥Æ¥ó¥×¥ì¡¼¥È
+               $this->setScreenId("0001");
+               $this->setTemplate('EditUser.tpl.php');
+
+               // set
+               $this->setAttribute('action_url', $action_url);
+               $this->setAttribute('back_url', $back_url);
+               
+               $this->setAttribute('user_info_row', $user_info_row);
+
+               return parent::execute();
+       }
+}
+
+?>