blob: 8096bda045a1bc7fc0f4a83a8f0f042e0b3b2b3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
$obj1 = new ElggObject();
$obj1->title = "Object 1";
$obj1->description = $ipsum;
$obj2 = new ElggObject();
$obj2->title = "Object 2";
$obj2->description = $ipsum;
$obj3 = new ElggObject();
$obj3->title = "Object 3";
$obj3->description = $ipsum;
$obj4 = new ElggObject();
$obj4->title = "Object 4";
$obj4->description = $ipsum;
echo elgg_view('page/components/list', array('items' => array($obj1, $obj2, $obj3, $obj4)));
|