Warning: Use of undefined constant WP_ADMIN - assumed 'WP_ADMIN' (this will throw an Error in a future version of PHP) in /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php on line 146

Warning: Cannot modify header information - headers already sent by (output started at /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php:146) in /home/t920/www/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php:146) in /home/t920/www/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php:146) in /home/t920/www/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php:146) in /home/t920/www/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php:146) in /home/t920/www/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php:146) in /home/t920/www/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php:146) in /home/t920/www/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/t920/www/wp/wp-content/plugins/wp-elfinder/wp-elfinder.php:146) in /home/t920/www/wp/wp-includes/rest-api/class-wp-rest-server.php on line 1896
{"id":5829,"date":"2015-05-07T15:47:17","date_gmt":"2015-05-07T06:47:17","guid":{"rendered":"http:\/\/920.jp\/wp\/?p=5829"},"modified":"2015-05-07T16:31:53","modified_gmt":"2015-05-07T07:31:53","slug":"xoops%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%9e%e3%82%a4%e3%82%ba","status":"publish","type":"post","link":"https:\/\/920.jp\/wp\/?p=5829","title":{"rendered":"xoops\u3000\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u30ab\u30b9\u30bf\u30de\u30a4\u30ba"},"content":{"rendered":"
user\u30e2\u30b8\u30e5\u30fc\u30eb\u5185\u306e\u4ee5\u4e0b\u306e4\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u304b\u304b\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/span>
\n user<\/span>
\n |_templates<\/span>
\n |…|_user_register_form.html\uff08\u65b0\u898f\u767b\u9332\u753b\u9762\uff09<\/span>
\n |…|_user_register_confirm.html\uff08\u65b0\u898f\u767b\u9332\u306e\u78ba\u8a8d\u753b\u9762\uff09<\/span>
\n |<\/span>
\n |_language<\/span>
\n |…|_japanese<\/span>
\n |……|_main.php\uff08\u9805\u76ee\u540d\u79f0\u306e\u5909\u66f4\uff09<\/span>
\n |<\/span>
\n |_forms<\/span>
\n |…|_UserRegisterEditForm.class.php(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u767b\u9332)<\/span>
\n |<\/span>
\n\u78ba\u8a8d\u753b\u9762\u306f\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u30fbFTP\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u7ba1\u7406\u753b\u9762 \u00bb\u00bb \u4e92\u63db\u30ec\u30f3\u30c0\u30fc\u30b7\u30b9\u30c6\u30e0 \u00bb\u00bb \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u7ba1\u7406 \u00bb\u00bb \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30bb\u30c3\u30c8\u4e00\u89a7\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u9078\u629e\u3057\u3001\u305d\u306e\u4e2d\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3092Web\u4e0a\u3067\u7de8\u96c6\u3059\u308b<\/span>
\n \uff11\uff0e<\/span>user_register_form.html\u306e\u4fee\u6b63<\/div>\n
\n

\u4eca\u56de\u3001\u8ffd\u52a0\u3059\u308b\u9805\u76ee\u3067\u3042\u308b\u3001\u201dname\u201d\u304c\u65b0\u898f\u8ffd\u52a0\u9805\u76ee\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3001Xoops\u7ba1\u7406\u753b\u9762\u5185\u3001Altsys\u304b\u3089\u4fee\u6b63<\/p>\n

\u4ee5\u4e0b\u3092HTML\u306eTable\u5185\u3078\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n

\n
\n\n\n\n
\n
1<\/div>\n
2<\/div>\n
3<\/div>\n
4<\/div>\n<\/td>\n
\n
\n
<<\/code>tr<\/code>><\/code><\/div>\n
\u00a0\u00a0<\/code><<\/code>td<\/code> class<\/code>=<\/code>\"head\"<\/code>>\u65b0\u898f\u8ffd\u52a0\u9805\u76eename<\/<\/code>td<\/code>><\/code><\/div>\n
\u00a0\u00a0<\/code><<\/code>td<\/code> class<\/code>=<\/code>\"<{cycle values=\"<\/code>odd,even\"}>\"><{xoops_input maxlength=30 name=name value=$actionForm->get('name')}><\/<\/code>td<\/code>><\/code><\/div>\n
<\/<\/code>tr<\/code>><\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n
\n

user_register_confirm.html\u306e\u4fee\u6b63<\/h4>\n

\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092HTML\u306eTable\u5185\u3078\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n

\n
\n\n\n\n
\n
1<\/div>\n
2<\/div>\n
3<\/div>\n
4<\/div>\n
5<\/div>\n
6<\/div>\n<\/td>\n
\n
\n
<<\/code>tr<\/code>><\/code><\/div>\n
\u00a0\u00a0<\/code><<\/code>td<\/code> class<\/code>=<\/code>\"head\"<\/code>>\u65b0\u898f\u8ffd\u52a0\u9805\u76eename<\/<\/code>td<\/code>><\/code><\/div>\n
\u00a0\u00a0<\/code><<\/code>td<\/code> class<\/code>=<\/code>\"<{cycle values=\"<\/code>odd,even\"}>\"><\/code><\/div>\n
\u00a0\u00a0\u00a0\u00a0<\/code><{$registForm->get('name')|xoops_escape}><\/code><\/div>\n
\u00a0\u00a0<\/code><\/<\/code>td<\/code>><\/code><\/div>\n
<\/<\/code>tr<\/code>><\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n
\uff12\uff0e\u8907\u88fd\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30bb\u30c3\u30c8\u306e[\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8]\u9805\u76ee\u304b\u3089<\/span>
\nuser_register_form.html\u3068user_register_confirm.html\u3092\u7de8\u96c6\u3002<\/span><\/div>\n
3.Root\/kernel\/user.php\u3078\u9805\u76ee\u8a2d\u5b9a\u3092\u8ffd\u8a18Root\/kernel\/user.php\u306eFunction \u201dXoopsUser\u201d \u5185\u3078\u8ffd\u52a0\u9805\u76ee\u3092\u8ffd\u8a18\"XoopsUser\"<\/p>\n
\n
\n\n\n\n
\n
1<\/div>\n<\/td>\n
\n
\n
$this<\/code>->initVar(<\/code>'name'<\/code>, XOBJ_DTYPE_TXTBOX, null, false, 30);<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n
4\uff0eUserRegisterEditForm.class.php\u3068\u666e\u901a\u306b\u30ed\u30fc\u30ab\u30eb\u7de8\u96c6\u3057FTP\u3067\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/span><\/div>\n
main.php\u306fAltsys<\/div>\n
\n
———————————<\/span>
\n UserRegisterEditForm.class.php<\/span>
\n \u5185\u5909\u66f4\u5185\u5bb9\u3000\u4e0b\u8a18\u2193\/\/ Set form properties<\/span>
\n \/\/\u672c\u540d\u8ffd\u52a0<\/span>
\n $this->mFormProperties[‘name’] =& new XCube_StringProperty(‘name’);<\/span>\/\/ Set field properties<\/span>
\n \/\/\u672c\u540d\u8ffd\u52a0<\/span>
\n $this->mFieldProperties[‘name’] =& new XCube_FieldProperty($this);<\/span>
\n $this->mFieldProperties[‘name’]->setDependsByArray(array(‘maxlength’));<\/span>
\n $this->mFieldProperties[‘name’]->addMessage(“maxlength”, _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_NAME, “60”);<\/span>
\n $this->mFieldProperties[‘name’]->addVar(“maxlength”, 60);<\/span>\/\/<\/span>
\n ———————–<\/span><\/div>\n
\u307e\u305f\u306f<\/div>\n
\n

Root\/modeules\/user\/forms\/UserRegisterEditForm.class.php\u306e\u4fee\u6b63<\/h4>\n

Root\/modeules\/user\/forms\/UserRegisterEditForm.class.php\u5185\u3001Function\u3001\u201dprepare\u201d\u3001\u201d\/\/ Set form properties\u201d\u3078hoge\u9805\u76ee\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n

\n
\n\n\n\n
\n
1<\/div>\n<\/td>\n
\n
\n
$this<\/code>->mFormProperties[<\/code>'name'<\/code>] =<\/code>new<\/code> XCube_StringProperty(<\/code>'hoge'<\/code>);<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n

Root\/modeules\/user\/forms\/UserRegisterEditForm.class.php\u5185\u3001Function\u3001\u201dprepare\u201d\u3001\u201d\/\/ Set field properties\u201d\u3078name\u9805\u76ee\u3092\u8ffd\u8a18<\/p>\n

\n
\n\n\n\n
\n
1<\/div>\n
2<\/div>\n
3<\/div>\n<\/td>\n
\n
\n
$this<\/code>->mFieldProperties[<\/code>'name'<\/code>] =<\/code>new<\/code> XCube_FieldProperty(<\/code>$this<\/code>);<\/code><\/div>\n
$this<\/code>->mFieldProperties[<\/code>'name'<\/code>]->setDependsByArray(<\/code>array<\/code>(<\/code>'maxlength'<\/code>));<\/code><\/div>\n
$this<\/code>->mFieldProperties[<\/code>'name'<\/code>]->addVar(<\/code>'maxlength'<\/code>, 30);<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n

Root\/modeules\/user\/forms\/UserRegisterEditForm.class.php\u5185\u3001Function\u3001\u201dupdate\u201d\u3078name\u9805\u76ee\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n

\n
\n\n\n\n
\n
1<\/div>\n<\/td>\n
\n
\n
$obj<\/code>->set(<\/code>'name'<\/code>, <\/code>$this<\/code>->get(<\/code>'name'<\/code>));<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

user\u30e2\u30b8\u30e5\u30fc\u30eb\u5185\u306e\u4ee5\u4e0b\u306e4\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u304b\u304b\u308f\u3063\u3066\u3044\u307e\u3059\u3002 user |_templates |…|_user_register_form.html\uff08\u65b0\u898f\u767b\u9332\u753b\u9762\uff09 |…|_user_regi … <\/p>\n