XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
member.api.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
8 class memberAPI extends member
9 {
17  function dispSavedDocumentList(&$oModule)
18  {
19  $document_list = $this->arrangeContentList(Context::get('document_list'));
20  $oModule->add('document_list',$document_list);
21  $oModule->add('page_navigation',Context::get('page_navigation'));
22  }
23 
31  function arrangeContentList($content_list)
32  {
33  $output = array();
34  if(count($content_list))
35  {
36  foreach($content_list as $key => $val) $output[] = $this->arrangeContent($val);
37  }
38  return $output;
39  }
40 
48  function arrangeContent($content)
49  {
50  $output = null;
51  if($content)
52  {
53  $output= $content->gets('document_srl','category_srl','nick_name','user_id','user_name','title','content','tags','voted_count','blamed_count','comment_count','regdate','last_update','extra_vars','status');
54  }
55  return $output;
56  }
57 }
58 /* End of file member.api.php */
59 /* Location: ./modules/member/member.api.php */
dispSavedDocumentList(&$oModule)
Definition: member.api.php:17
$output
Definition: ko.install.php:193
arrangeContentList($content_list)
Definition: member.api.php:31
arrangeContent($content)
Definition: member.api.php:48