object(HotopayModel)#817 (23) {
["error"]=>
int(0)
["message"]=>
string(7) "success"
["variables"]=>
array(0) {
}
["httpStatusCode"]=>
int(200)
["module"]=>
string(7) "hotopay"
["module_info"]=>
NULL
["origin_module_info"]=>
NULL
["module_config"]=>
NULL
["module_path"]=>
string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/"
["xml_info"]=>
NULL
["module_srl"]=>
NULL
["mid"]=>
NULL
["act"]=>
NULL
["template_path"]=>
NULL
["template_file"]=>
NULL
["layout_path"]=>
NULL
["layout_file"]=>
NULL
["edited_layout_file"]=>
NULL
["stop_proc"]=>
bool(false)
["user"]=>
object(Rhymix\Framework\Helpers\SessionHelper)#816 (20) {
["member_srl"]=>
int(0)
["user_id"]=>
NULL
["user_name"]=>
NULL
["nick_name"]=>
NULL
["email_address"]=>
NULL
["phone_number"]=>
NULL
["homepage"]=>
NULL
["blog"]=>
NULL
["birthday"]=>
NULL
["denied"]=>
NULL
["status"]=>
NULL
["is_admin"]=>
string(1) "N"
["is_site_admin"]=>
NULL
["profile_image"]=>
NULL
["image_name"]=>
NULL
["image_mark"]=>
NULL
["signature"]=>
NULL
["description"]=>
NULL
["group_list"]=>
array(0) {
}
["menu_list"]=>
array(0) {
}
}
["request"]=>
object(Rhymix\Framework\Request)#10 (13) {
["method"]=>
string(3) "GET"
["compat_method"]=>
string(3) "GET"
["url"]=>
string(16) "xe/224572/page/1"
["hostname"]=>
string(8) "eond.com"
["domain"]=>
NULL
["protocol"]=>
string(5) "https"
["callback_function"]=>
string(0) ""
["_route_status":protected]=>
int(200)
["_route_options":protected]=>
object(stdClass)#11 (5) {
["cache_control"]=>
bool(true)
["check_csrf"]=>
bool(true)
["is_forwarded"]=>
bool(false)
["is_indexable"]=>
bool(true)
["enable_session"]=>
bool(true)
}
["module"]=>
string(5) "board"
["mid"]=>
string(2) "xe"
["act"]=>
string(16) "dispBoardContent"
["args"]=>
array(6) {
["category"]=>
string(5) "35024"
["search_target"]=>
string(9) "nick_name"
["document_srl"]=>
string(6) "224572"
["page"]=>
int(1)
["mid"]=>
string(2) "xe"
["act"]=>
string(16) "dispBoardContent"
}
}
["ajaxRequestMethod"]=>
array(2) {
[0]=>
string(6) "XMLRPC"
[1]=>
string(4) "JSON"
}
["gzhandler_enable"]=>
bool(true)
}
위젯이나 모듈, 애드온 등 스킨을 개발할 때나 XE에서 사용하는 함수를 이용할 때가 많은데요,
그럴 때마다 대충 아는 건 대충 쓰지만 모르는 건 어딘가 쓰인 소스를 찾아 헤맨다거나 삽질을 할 경우가 많잖아요.
스마커님이라면 많이 알고 계신 것 같아서, 이런 정보를 모아;; 모아서 개발하는 다른 사람들에게도
편리하게 이용할 수 있도록 하는 건 어떨까 싶어서요.
{getUrl('act','dispMemberLogout')} 로그아웃 링크
{getUrl('act','dispMemberInfo')} 회원정보보기 링크
{@
$oPointModel = &getModel('point'); $point =
$oPointModel->getPoint($logged_info->member_srl); $oModuleModel =
&getModel('module'); $config =
$oModuleModel->getModuleConfig('point'); $level =
$oPointModel->getLevel($point, $config->level_step); } 회원레벨, 포인트
출력 전에 선언해야하는 함수(?)
{$level} 회원레벨출력
{$point} 회원포인트출력
{Context::getLang($val)} 회원정보보기, 스크랩보기, 저장함보기, 작성글보기, 쪽지함보기 출력
{getUrl('act',$key,'member_srl','')} 회원정보보기, 스크랩보기, 저장함보기, 작성글보기, 쪽지함보기의 링크
{$lang->last_login} 최근로그인 출력
{zDate($logged_info->last_login, "Y-m-d H:i")} 최근로그인시각 언어 출력
{$logged_info->member_srl} 닉네임 링크
{$logged_info->nick_name} 닉네임 출력
{$colorset} 컬러셋 출력
{$lang->cmd_login}
{$lang->about_keep_signed} 로그인 아이디 저장할 때 경고 메세지 출력
{htmlspecialchars($member_info->user_name)} 회원정보 모듈에서 회원이름 출력
{$logged_info->nick_name} 회원 닉네임 출력
<span class="member_{$logged_info->member_srl}">{$logged_info->nick_name}</span> 닉네임 링크
{htmlspecialchars($logged_info->user_name)} 로그인 후 회원이름 출력
{getUrl('act','dispLayoutAdminModify','layout_srl',$layout_info->layout_srl)} 레이아웃 내에서 레이아웃 설정 링크
{getUrl(','module','admin','act','dispLayoutAdminModify','layout_srl',$layout_info->layout_srl)} 관리자 화면 내에서 레이아웃 설정 링크
{getUrl('act','dispMemberSignUpForm')} 회원가입 링크
{$lang->cmd_signup} 회원가입 출력
{getUrl('act','dispMemberFindAccount')} 아이디 비밀번호 찾기 링크
{$lang->cmd_find_member_account} 아이디 비밀번호 찾기 출력
{getUrl('act','dispMemberResendAuthMail')} 인증메일 발송 링크
{$lang->cmd_resend_auth_mail} 인증메일 발송 출력
<!--@if($logged_info->is_admin=="Y")-->
<!--@end-->
관리자일 경우
<!--@if(!$logged_info)-->
<!--@end-->
로그인 하지 않은 경우
<!--@if($logged_info)-->
로그인한 경우
<!--@else-->
로그인하지 않았을 때
<!--@end-->
로그인한 경우와 로그인하지 않은 경우
대충 이런 식으로 정리해보는 건 어떨까요^^;;
댓글 1
댓글작성칸으로