http://chongmoa.com/xe/337
게시물 정보 불러오기(&getModel('document'))
1
2
|
$oDocumentModel = &getModel( 'document' ); // 문서객체 선언(게시물정보 객체 선언)
$oDocument = $oDocumentModel ->getDocument( $document_srl ); // 게시물 정보 불러오기
|
{print_r($oDocument,true)}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
documentItem Object
(
[document_srl] => 000
[lang_code] => ko
[allow_trackback_status] =>
[columnList] => Array
(
)
[allowscriptaccessList] => Array
(
)
[allowscriptaccessKey] => 0
[uploadedFiles] => Array
(
)
[error] => 0
[message] => success
[variables] => Array
(
[document_srl] => 000
[module_srl] => 000
[category_srl] => 0
[lang_code] => ko
[is_notice] => N
[title] => 게시물 정보 불러오기(&getModel( 'document' ))
[title_bold] => N
[title_color] => N
[content] => 게시물 내용.............
[readed_count] => 1541
[voted_count] => 0
[blamed_count] => 0
[comment_count] => 0
[trackback_count] => 0
[uploaded_count] => 0
[password] =>
[user_id] => a~~~~~~~~~
[user_name] => 관리자
[nick_name] => 관리자
[member_srl] => 00
[email_address] => chongmoa@gmail.com
[homepage] =>
[tags] =>
[extra_vars] => N;
[regdate] => 20140~~~~~~~~~~~~
[last_update] => 20140~~~~~~~~~~~~
[last_updater] =>
[ipaddress] => 100.xxx.xxx.xxx
[list_order] => -000
[update_order] => -000
[allow_trackback] => Y
[notify_message] => N
[status] => PUBLIC
[comment_status] => ALLOW
)
[httpStatusCode] =>
)
|