@@ -22,7 +22,7 @@ |
||
22 | 22 | FIXME: Use a join to make image extraction more efficient |
23 | 23 | */ |
24 | 24 | public function RenderPortlet($model, $where, $ordering, $amount, $template, |
25 | - $joinTable = '', $joinOn = '') |
|
25 | + $joinTable = '', $joinOn = '') |
|
26 | 26 | { |
27 | 27 | $result = null; |
28 | 28 | $records = DataList::create($model)->where($where)->sort($ordering)->limit($amount); |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Defines the interface for a DataObject renderable as a portlet. Implementors |
|
4 | - * of this interface must define the following functions in order to work with |
|
5 | - * the {@link RenderPortlet} |
|
6 | - * helper class. |
|
7 | - * |
|
8 | - * @author Gordon Anderson |
|
9 | - */ |
|
3 | + * Defines the interface for a DataObject renderable as a portlet. Implementors |
|
4 | + * of this interface must define the following functions in order to work with |
|
5 | + * the {@link RenderPortlet} |
|
6 | + * helper class. |
|
7 | + * |
|
8 | + * @author Gordon Anderson |
|
9 | + */ |
|
10 | 10 | interface RenderableAsPortlet |
11 | 11 | { |
12 | 12 | /** |