Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
Prado::using('Example.Person');
4
 
5
class crud1 extends TPage
6
{
7
    private function loadData()
8
    {
9
        $sqlmap = $this->Application->Modules['person-sample']->Client;
10
        $this->personList->DataSource = $sqlmap->queryForList('SelectAll');
11
		$this->personList->dataBind();
12
    }
13
 
14
	public function onLoad($param)
15
	{
16
		if(!$this->IsPostBack)
17
			$this->loadData();
18
	}
19
}
20
 
21
?>