1 <?php
2
3 namespace PLus\Orders\Repositories\Lists;
4
5
6 /**
7 * Description of DimenzionRepository
8 *
9 * @author Petr
10 */
11 class DimenzionRepository extends \PLus\Orders\Repositories\Repository {
12
13
14
15 function getPairData(){
16 return $this->getTable()->select('id, name')->order('name ASC')->fetchPairs('id', 'name');
17 }
18
19
20 /**
21 *
22 * @return type
23 * pro naplneni grido
24 */
25 function getGridSelection(){
26 return $this->getTable()->select('id,name')->order('name ASC');
27 }
28 }
29