| @@ 31-39 (lines=9) @@ | ||
| 28 | * |
|
| 29 | * @return array |
|
| 30 | */ |
|
| 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 | ||
| 41 | /** |
|
| 42 | * Arrange Contents |
|
| @@ 101-107 (lines=7) @@ | ||
| 98 | $oModule->add('comment_list',$this->arrangeComment(Context::get('comment_list'))); |
|
| 99 | } |
|
| 100 | ||
| 101 | function arrangeContentList($content_list) { |
|
| 102 | $output = array(); |
|
| 103 | if(count($content_list)) { |
|
| 104 | foreach($content_list as $key => $val) $output[] = $this->arrangeContent($val); |
|
| 105 | } |
|
| 106 | return $output; |
|
| 107 | } |
|
| 108 | ||
| 109 | ||
| 110 | function arrangeContent($content) { |
|