02. 유용한 기능들

Views 1181 Votes 0 2009.08.24 17:21:56
sol *.13.13.164
Subject Developer Date
02. 유용한 기능들 (current) sol 2009.08.24 17:21:56
Restore
<div class="eArea xe_content xe_dr_txt"><p>XE의 일반 함수들은 XE_ROOT/config/func.inc.php 파일에 정의 되어 있습니다.<br></p></div><div class="eArea xe_content xe_dr_index"><ul class="toc"><li class="toc4"><a href="#h1249626986107">debugPrint(mixed OBJECT)</a></li><li class="toc4"><a href="#h1249627058937">instance getController(string MODULE_NAME)</a></li><li class="toc4"><a href="#h1249627069794">instance getModel(string MODULE_NAME)</a></li><li class="toc4"><a href="#h1249627094175">instance getAdminController(string MODULE_NAME)</a></li><li class="toc4"><a href="#h1249627107517">instrance getAdminModel(string MODULE_NAME)</a></li><li class="toc4"><a href="#h1249627158491">Object executeQuery(string QUERY_ID, stdClass PARAM)</a></li><li class="toc4"><a href="#h1249627183039">Object executeQueryArray(string QUERY_ID, stdClass PARAM)</a></li><li class="toc4"><a href="#h1249627189029">int getNextSequence()</a></li><li class="toc4"><a href="#h1249627284049">string getUrl(['',] string KEY, string VALUE [,string KEY, string VALUE ...])</a></li><li class="toc4"><a href="#h1249627306090">string getSiteUrl(string DOMAIN, [''+
'+
',] string KEY, string VALUE [,string KEY, string VALUE ...])</a></li><li class="toc4"><a href="#h1249627328540">string getFullUrl([''+
',] string KEY, string VALUE [,string KEY, string VALUE ...])</a></li><li class="toc4"><a href="#h1249627353122">string getFullSiteUrl(string DOMAIN, ['',] string KEY, string VALUE [,string KEY, string VALUE ...])</a></li></ul></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249626986107">debugPrint(mixed OBJECT)</h4></div><div class="eArea xe_content xe_dr_txt"><p>디버깅을 하기 위한&nbsp; 함수 입니다. <br>XE_ROOT/config/config.inc.php 파일에 __DEBUG__ 값이 1이상으로 정의되어 있어야 합니다.<br>__DEBUG_OUTPUT__ 값에 따라 결과값을 받을 방법을 선택할 수 있습니다.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; * 0 : files/_debug_message.php 에 연결하여 출력<br>&nbsp;&nbsp;&nbsp;&nbsp; * 1 : HTML 최하단에 주석으로 출력 (Response Method가 HTML 일 때)<br>&nbsp;&nbsp;&nbsp;&nbsp; * 2 : Firebug 콘솔에 출력 (PHP &gt;= 5.2.0. Firebug/FirePHP 플러그인 필요)<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627058937">instance getController(string MODULE_NAME)</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Controller 인스턴스를 가져오기 위한 함수입니다.</p><p>// document.controller.class 인스턴스를 갖고 오고 싶다면<br>$oDocumentController = &amp;getController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627069794">instance getModel(string MODULE_NAME)</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Model 인스턴스를 가져오기 위한 함수입니다.<br></p><p>// documentModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentModel = &amp;getModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627094175">instance getAdminController(string MODULE_NAME)</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Controller 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminController 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminController = &amp;getAdminController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627107517">instrance getAdminModel(string MODULE_NAME)</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Model 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminModel = &amp;getAdminModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627158491">Object executeQuery(string QUERY_ID, stdClass PARAM)</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627183039">Object executeQueryArray(string QUERY_ID, stdClass PARAM)</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627189029">int getNextSequence()</h4></div><div class="eArea xe_content xe_dr_txt"><p>다음 Sequence 번호를 가져오기 위한 함수 입니다.</p><p>XE에서는 내부적으로 하나의&nbsp;Sequence 를 쓰는데요 member_srl, module_srl, document_srl 등 모든 키는 다 이 함수로 받아 설정됩니다.&nbsp;document_srl이 +1씩&nbsp;순차적으로 늘어나지 않지만 이점이 많이 XE에서는 이러한 방법으로&nbsp;Sequence를 쓰고 있습니다.</p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627284049">string getUrl(['',] string KEY, string VALUE [,string KEY, string VALUE ...])</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627306090">string getSiteUrl(string DOMAIN, ['',] string KEY, string VALUE [,string KEY, string VALUE ...])</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627328540">string getFullUrl([''+
',] string KEY, string VALUE [,string KEY, string VALUE ...])</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627353122">string getFullSiteUrl(string DOMAIN, ['',] string KEY, string VALUE [,string KEY, string VALUE ...])</h4></div>
sol 2009.08.24 17:06:59
Restore
<div class="eArea xe_content xe_dr_txt"><p>XE의 일반 함수들은 XE_ROOT/config/func.inc.php 파일에 정의 되어 있습니다.<br></p></div><div class="eArea xe_content xe_dr_index"><ul class="toc"><li class="toc4"><a href="#h1249626986107">debugPrint(mixed OBJECT)</a></li><li class="toc4"><a href="#h1249627058937">instance getController(string MODULE_NAME)</a></li><li class="toc4"><a href="#h1249627069794">instance getModel(string MODULE_NAME)</a></li><li class="toc4"><a href="#h1249627094175">instance getAdminController(string MODULE_NAME)</a></li><li class="toc4"><a href="#h1249627107517">instrance getAdminModel(string MODULE_NAME)</a></li><li class="toc4"><a href="#h1249627158491">Object executeQuery(string QUERY_ID, stdClass PARAM)</a></li><li class="toc4"><a href="#h1249627183039">Object executeQueryArray(string QUERY_ID, stdClass PARAM)</a></li><li class="toc4"><a href="#h1249627189029">int getNextSequence()</a></li><li class="toc4"><a href="#h1249627284049">string getUrl(['',] string KEY, string VALUE [,string KEY, string VALUE ...])</a></li><li class="toc4"><a href="#h1249627306090">string getSiteUrl(string DOMAIN, [''+
'+
',] string KEY, string VALUE [,string KEY, string VALUE ...])</a></li><li class="toc4"><a href="#h1249627328540">string getFullUrl([''+
',] string KEY, string VALUE [,string KEY, string VALUE ...])</a></li><li class="toc4"><a href="#h1249627353122">string getFullSiteUrl(string DOMAIN, ['',] string KEY, string VALUE [,string KEY, string VALUE ...])</a></li></ul></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249626986107">debugPrint(mixed OBJECT)</h4></div><div class="eArea xe_content xe_dr_txt"><p>디버깅을 하기 위한&nbsp; 함수 입니다. <br>XE_ROOT/config/config.inc.php 파일에 __DEBUG__ 값이 1이상으로 정의되어 있어야 합니다.<br>__DEBUG_OUTPUT__ 값에 따라 결과값을 받을 방법을 선택할 수 있습니다.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; * 0 : files/_debug_message.php 에 연결하여 출력<br>&nbsp;&nbsp;&nbsp;&nbsp; * 1 : HTML 최하단에 주석으로 출력 (Response Method가 HTML 일 때)<br>&nbsp;&nbsp;&nbsp;&nbsp; * 2 : Firebug 콘솔에 출력 (PHP &gt;= 5.2.0. Firebug/FirePHP 플러그인 필요)<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627058937">instance getController(string MODULE_NAME)</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Controller 인스턴스를 가져오기 위한 함수입니다.</p><p>// document.controller.class 인스턴스를 갖고 오고 싶다면<br>$oDocumentController = &amp;getController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627069794">instance getModel(string MODULE_NAME)</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Model 인스턴스를 가져오기 위한 함수입니다.<br></p><p>// documentModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentModel = &amp;getModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627094175">instance getAdminController(string MODULE_NAME)</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Controller 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminController 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminController = &amp;getAdminController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627107517">instrance getAdminModel(string MODULE_NAME)</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Model 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminModel = &amp;getAdminModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627158491">Object executeQuery(string QUERY_ID, stdClass PARAM)</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627183039">Object executeQueryArray(string QUERY_ID, stdClass PARAM)</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627189029">int getNextSequence()</h4></div><div class="eArea xe_content xe_dr_txt"><p>다음 Sequence 번호를 가져오기 위한 함수 입니다.</p><p>XE에서는 내부적으로 하나의&nbsp;Sequence 를 쓰는데요 member_srl, module_srl, document_srl 등 모든 키는 다 이 함수로 받아 설정됩니다.&nbsp;document_srl이 +1씩&nbsp;순차적으로 늘어나지 않지만 이점이 많이 XE에서는 이러한 방법으로&nbsp;Sequence를 쓰고 있습니다.</p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627284049">string getUrl(['',] string KEY, string VALUE [,string KEY, string VALUE ...])</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627306090">string getSiteUrl(string DOMAIN, ['',] string KEY, string VALUE [,string KEY, string VALUE ...])</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627328540">string getFullUrl([''+
',] string KEY, string VALUE [,string KEY, string VALUE ...])</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249627353122">string getFullSiteUrl(string DOMAIN, ['',] string KEY, string VALUE [,string KEY, string VALUE ...])</h4></div>
sol 2009.08.07 15:42:56
Restore
<div class="eArea xe_content xe_dr_txt"><p>XE의 일반 함수들은 XE_ROOT/config/func.inc.php 파일에 정의 되어 있습니다.<br></p></div><div class="eArea xe_content xe_dr_index"><ul class="toc"><li class="toc4"><a href="#h1249456143827">debugPrint()</a></li><li class="toc4"><a href="#h1249456161469">getController()</a></li><li class="toc4"><a href="#h1249456200631">getModel()</a></li><li class="toc4"><a href="#h1249456657618">getAdminController()</a></li><li class="toc4"><a href="#h1249456668202">getAdminModel()</a></li><li class="toc4"><a href="#h1249456694971">executeQuery()</a></li><li class="toc4"><a href="#h1249456710737">executeQueryArray()</a></li><li class="toc4"><a href="#h1249456732588">getNextSequence()</a></li><li class="toc4"><a href="#h1249456749657">getUrl()</a></li><li class="toc4"><a href="#h1249456762765">getSiteUrl()</a></li><li class="toc4"><a href="#h1249622921280">getFullUrl()</a></li><li class="toc4"><a href="#h1249622935340">getFullSiteUrl()</a></li></ul></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456143827">debugPrint()</h4></div><div class="eArea xe_content xe_dr_txt"><p>디버깅을 하기 위한&nbsp; 함수 입니다. <br>XE_ROOT/config/config.inc.php 파일에 __DEBUG__ 값이 1이상으로 정의되어 있어야 합니다.<br>__DEBUG_OUTPUT__ 값에 따라 결과값을 받을 방법을 선택할 수 있습니다.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; * 0 : files/_debug_message.php 에 연결하여 출력<br>&nbsp;&nbsp;&nbsp;&nbsp; * 1 : HTML 최하단에 주석으로 출력 (Response Method가 HTML 일 때)<br>&nbsp;&nbsp;&nbsp;&nbsp; * 2 : Firebug 콘솔에 출력 (PHP &gt;= 5.2.0. Firebug/FirePHP 플러그인 필요)<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456161469">getController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Controller 인스턴스를 가져오기 위한 함수입니다.</p><p>// document.controller.class 인스턴스를 갖고 오고 싶다면<br>$oDocumentController = &amp;getController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456200631">getModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Model 인스턴스를 가져오기 위한 함수입니다.<br></p><p>// documentModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentModel = &amp;getModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456657618">getAdminController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Controller 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminController 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminController = &amp;getAdminController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456668202">getAdminModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Model 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminModel = &amp;getAdminModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456694971">executeQuery()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456710737">executeQueryArray()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456732588">getNextSequence()</h4></div><div class="eArea xe_content xe_dr_txt"><p>다음 Sequence 번호를 가져오기 위한 함수 입니다.</p><p>XE에서는 내부적으로 하나의&nbsp;Sequence 를 쓰는데요 member_srl, module_srl, document_srl 등 모든 키는 다 이 함수로 받아 설정됩니다.&nbsp;document_srl이 +1씩&nbsp;순차적으로 늘어나지 않지만 이점이 많이 XE에서는 이러한 방법으로&nbsp;Sequence를 쓰고 있습니다.</p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456749657">getUrl()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456762765">getSiteUrl()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249622921280">getFullUrl()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249622935340">getFullSiteUrl()</h4></div>
sol 2009.08.07 14:29:19
Restore
<div class="eArea xe_content xe_dr_txt"><p>XE의 일반 함수들은 XE_ROOT/config/func.inc.php 파일에 정의 되어 있습니다.<br></p></div><div class="eArea xe_content xe_dr_index"><ul class="toc"><li class="toc4"><a href="#h1249456143827">debugPrint()</a></li><li class="toc4"><a href="#h1249456161469">getController()</a></li><li class="toc4"><a href="#h1249456200631">getModel()</a></li><li class="toc4"><a href="#h1249456657618">getAdminController()</a></li><li class="toc4"><a href="#h1249456668202">getAdminModel()</a></li><li class="toc4"><a href="#h1249456694971">executeQuery()</a></li><li class="toc4"><a href="#h1249456710737">executeQueryArray()</a></li><li class="toc4"><a href="#h1249456732588">getNextSequence()</a></li><li class="toc4"><a href="#h1249456749657">getUrl()</a></li><li class="toc4"><a href="#h1249456762765">getSiteUrl()</a></li></ul></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456143827">debugPrint()</h4></div><div class="eArea xe_content xe_dr_txt"><p>디버깅을 하기 위한&nbsp; 함수 입니다. <br>XE_ROOT/config/config.inc.php 파일에 __DEBUG__ 값이 1이상으로 정의되어 있어야 합니다.<br>__DEBUG_OUTPUT__ 값에 따라 결과값을 받을 방법을 선택할 수 있습니다.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; * 0 : files/_debug_message.php 에 연결하여 출력<br>&nbsp;&nbsp;&nbsp;&nbsp; * 1 : HTML 최하단에 주석으로 출력 (Response Method가 HTML 일 때)<br>&nbsp;&nbsp;&nbsp;&nbsp; * 2 : Firebug 콘솔에 출력 (PHP &gt;= 5.2.0. Firebug/FirePHP 플러그인 필요)<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456161469">getController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Controller 인스턴스를 가져오기 위한 함수입니다.</p><p>// document.controller.class 인스턴스를 갖고 오고 싶다면<br>$oDocumentController = &amp;getController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456200631">getModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Model 인스턴스를 가져오기 위한 함수입니다.<br></p><p>// documentModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentModel = &amp;getModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456657618">getAdminController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Controller 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminController 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminController = &amp;getAdminController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456668202">getAdminModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Model 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminModel = &amp;getAdminModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456694971">executeQuery()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456710737">executeQueryArray()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456732588">getNextSequence()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456749657">getUrl()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456762765">getSiteUrl()</h4></div>
sol 2009.08.05 17:43:09
Restore
<div class="eArea xe_content xe_dr_txt"><p>XE의 일반 함수들은 XE_ROOT/config/func.inc.php 파일에 정의 되어 있습니다.<br></p></div><div class="eArea xe_content xe_dr_index"><ul class="toc"><li class="toc4"><a href="#h1249456143827">debugPrint()</a></li><li class="toc4"><a href="#h1249456161469">getController()</a></li><li class="toc4"><a href="#h1249456200631">getModel()</a></li><li class="toc4"><a href="#h1249456657618">getAdminController()</a></li><li class="toc4"><a href="#h1249456668202">getAdminModel()</a></li><li class="toc4"><a href="#h1249456694971">executeQuery()</a></li><li class="toc4"><a href="#h1249456710737">executeQueryArray()</a></li><li class="toc4"><a href="#h1249456732588">getNextSequence()</a></li><li class="toc4"><a href="#h1249456749657">getUrl()</a></li><li class="toc4"><a href="#h1249456762765">getSiteUrl()</a></li></ul></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456143827">debugPrint()</h4></div><div class="eArea xe_content xe_dr_txt"><p>디버깅을 하기 위한&nbsp; 함수 입니다. <br>XE_ROOT/config/config.inc.php 파일에 __DEBUG__ 값이 1이상으로 정의되어 있어야 합니다.<br>__DEBUG_OUTPUT__ 값에 따라 결과값을 받을 방법을 선택할 수 있습니다.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; * 0 : files/_debug_message.php 에 연결하여 출력<br>&nbsp;&nbsp;&nbsp;&nbsp; * 1 : HTML 최하단에 주석으로 출력 (Response Method가 HTML 일 때)<br>&nbsp;&nbsp;&nbsp;&nbsp; * 2 : Firebug 콘솔에 출력 (PHP &gt;= 5.2.0. Firebug/FirePHP 플러그인 필요)<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456161469">getController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Controller 인스턴스를 가져오기 위한 함수입니다.</p><p>// document.controller.class 인스턴스를 갖고 오고 싶다면<br>$oDocumentController = &amp;getController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456200631">getModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Model 인스턴스를 가져오기 위한 함수입니다.<br></p><p>// documentModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentModel = &amp;getModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456657618">getAdminController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Controller 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminController 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminController = &amp;getAdminController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456668202">getAdminModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Model 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminModel = &amp;getAdminModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456694971">executeQuery()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456710737">executeQueryArray()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456732588">getNextSequence()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456749657">getUrl()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456762765">getSiteUrl()</h4></div>
sol 2009.08.05 16:42:01
Restore
<div class="eArea xe_content xe_dr_txt"><p>XE의 일반 함수들은 XE_ROOT/config/func.inc.php 파일에 정의 되어 있습니다.<br></p></div><div class="eArea xe_content xe_dr_index"><ul class="toc"><li class="toc4"><a href="#h1249456143827">debugPrint()</a></li><li class="toc4"><a href="#h1249456161469">getController()</a></li><li class="toc4"><a href="#h1249456200631">getModel()</a></li><li class="toc4"><a href="#h1249456657618">getAdminController()</a></li><li class="toc4"><a href="#h1249456668202">getAdminModel()</a></li><li class="toc4"><a href="#h1249456694971">executeQuery()</a></li><li class="toc4"><a href="#h1249456710737">executeQueryArray()</a></li><li class="toc4"><a href="#h1249456732588">getNextSequence()</a></li><li class="toc4"><a href="#h1249456749657">getUrl()</a></li><li class="toc4"><a href="#h1249456762765">getSiteUrl()</a></li></ul></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456143827">debugPrint()</h4></div><div class="eArea xe_content xe_dr_txt"><p>디버깅을 하기 위한&nbsp; 함수 입니다. <br>XE_ROOT/config/config.inc.php 파일에 __DEBUG__ 값이 1이상으로 정의되어 있어야 합니다.<br>__DEBUG_OUTPUT__ 값에 따라 결과값을 받을 방법을 선택할 수 있습니다.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; * 0 : files/_debug_message.php 에 연결하여 출력<br>&nbsp;&nbsp;&nbsp;&nbsp; * 1 : HTML 최하단에 주석으로 출력 (Response Method가 HTML 일 때)<br>&nbsp;&nbsp;&nbsp;&nbsp; * 2 : Firebug 콘솔에 출력 (PHP &gt;= 5.2.0. Firebug/FirePHP 플러그인 필요)<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456161469">getController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Controller 인스턴스를 가져오기 위한 함수입니다.</p><p>// document.controller.class 인스턴스를 갖고 오고 싶다면<br>$oDocumentController = &amp;getController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456200631">getModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Model 인스턴스를 가져오기 위한 함수입니다.<br></p><p>// documentModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentModel = &amp;getModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456657618">getAdminController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Controller 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminController 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminController = &amp;getAdminController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456668202">getAdminModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Admin Model 인스턴스를 가져오기 위한 함수입니다.<br><br>// documentAdminModel 인스턴스를 갖고 오고 싶다면<br>$oDocumentAdminModel = &amp;getAdminModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456694971">executeQuery()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456710737">executeQueryArray()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456732588">getNextSequence()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456749657">getUrl()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456762765">getSiteUrl()</h4></div>
sol 2009.08.05 16:37:50
Restore
<div class="eArea xe_content xe_dr_txt"><p>XE의 일반 함수들은 XE_ROOT/config/func.inc.php 파일에 정의 되어 있습니다.<br></p></div><div class="eArea xe_content xe_dr_index"><ul class="toc"><li class="toc4"><a href="#h1249456143827">debugPrint()</a></li><li class="toc4"><a href="#h1249456161469">getController()</a></li><li class="toc4"><a href="#h1249456200631">getModel()</a></li><li class="toc4"><a href="#h1249456657618">getAdminController()</a></li><li class="toc4"><a href="#h1249456668202">getAdminModel()</a></li><li class="toc4"><a href="#h1249456694971">executeQuery()</a></li><li class="toc4"><a href="#h1249456710737">executeQueryArray()</a></li><li class="toc4"><a href="#h1249456732588">getNextSequence()</a></li><li class="toc4"><a href="#h1249456749657">getUrl()</a></li><li class="toc4"><a href="#h1249456762765">getSiteUrl()</a></li></ul></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456143827">debugPrint()</h4></div><div class="eArea xe_content xe_dr_txt"><p>디버깅을 하기 위한&nbsp; 함수 입니다. XE_ROOT/config/config.inc.php 파일에 __DEBUG__ 값이 1이상으로 정의되어 있어야 합니다.<br><br>__DEBUG_OUTPUT__ 값에 따라 결과값을 받을 방법을 선택할 수 있습니다.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; * 0 : files/_debug_message.php 에 연결하여 출력<br>&nbsp;&nbsp;&nbsp;&nbsp; * 1 : HTML 최하단에 주석으로 출력 (Response Method가 HTML 일 때)<br>&nbsp;&nbsp;&nbsp;&nbsp; * 2 : Firebug 콘솔에 출력 (PHP &gt;= 5.2.0. Firebug/FirePHP 플러그인 필요)<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456161469">getController()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Controller 인스턴스를 가져오기 위한 함수입니다.<br><br>$oDocumentController = &amp;getController('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456200631">getModel()</h4></div><div class="eArea xe_content xe_dr_txt"><p>모듈의 Model 인스턴스를 가져오기 위한 함수입니다.<br><br>$oDocumentModel = &amp;getModel('document');<br></p></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456657618">getAdminController()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456668202">getAdminModel()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456694971">executeQuery()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456710737">executeQueryArray()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456732588">getNextSequence()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456749657">getUrl()</h4></div><div class="eArea xe_content xe_dr_hx"><h4 id="h1249456762765">getSiteUrl()</h4></div>
sol 2009.08.05 16:24:40