blob: 9c2033aa23fb35007fc2af108039b86146818186 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
Prado::using('Application.Portlets.Portlet');
class CategoryPortlet extends Portlet
{
public function onLoad($param)
{
parent::onLoad($param);
$this->CategoryList->DataSource=$this->Application->getModule('data')->queryCategories();
$this->CategoryList->dataBind();
}
}
?>
|