public $default_table;
public $sort;
public $extras;
+ public $formats = array( 'table','div','csv','xml','json','yaml' );
public $limits = array('10','20','50','100','500','1000');
public $help_criterias = array(
' * or % for wildcar',
// Format
$r .= '<span class="label">';
- $r .= '<label for="format">Format</label>'.html_select_array(array(
- 'table','div','csv','xml','json','yaml'
- ),array(
+
+ #$criteria[] = html_select_array(ar_map('array($a == "html" ? "" : $a,strtoupper($a))',$this->formats));
+# NB 01.03.16 $r .= '<label for="format">Format</label>'.html_select_array(array(
+# NB 01.03.16 'table','div','csv','xml','json','yaml'
+ $r .= '<label for="format">Format</label>'.html_select_array($this->formats,array(
'html' => 'class="format" name="format" id="format"',
'selected' => $this->p('format'),
'prettyText' => true,