MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
mactivelookupgrid.class
Ir para a documentação deste ficheiro.
1<?php
3{
4 var $query;
5
6 function __construct($query, $columns, $href, $pagelength = 15, $index = 0)
7 {
8 $this->query = $query;
9 parent::__construct($query->result, $columns, $href, $pagelength, $index);
10 $this->emptyMsg = 'Nenhum registro encontrado na pesquisa!';
11 $this->SetFiltered(true);
12 }
13
15 {
16 $this->columns = array
17 (
18 );
19
20 if (!is_array($columns))
21 $columns = array($columns);
22
23 foreach ($columns as $k => $c)
24 {
25 $this->columns[$c->field] = $c;
26 $this->columns[$c->field]->index = $this->query->GetColumnNumber($c->field);
27 $this->columns[$c->field]->grid = $this;
28 }
29 }
30
31}
32?>
__construct($query, $columns, $href, $pagelength=15, $index=0)