<?php
$config->perfdatasource->create = new stdclass();
$config->perfdatasource->edit   = new stdclass();
$config->perfdatasource->create->requiredFields = 'name';
$config->perfdatasource->edit->requiredFields   = 'name';

$config->perfdatasource->mysqlFields = 'ip,port,database,account,password';

global $lang;
$config->perfdatasource->search['module']                 = 'perfdatasource';
$config->perfdatasource->search['fields']['name']         = $lang->perfdatasource->name;
$config->perfdatasource->search['fields']['id']           = $lang->perfdatasource->id;
$config->perfdatasource->search['fields']['createdBy']    = $lang->perfdatasource->createdBy;
$config->perfdatasource->search['fields']['createdDate']  = $lang->perfdatasource->createdDate;
$config->perfdatasource->search['fields']['acl']          = $lang->perfdatasource->acl;

$config->perfdatasource->search['params']['name']        = array('operator' => 'include', 'control' => 'input' , 'values' => '');
$config->perfdatasource->search['params']['id']          = array('operator' => '='      , 'control' => 'input' , 'values' => '');
$config->perfdatasource->search['params']['createdBy']   = array('operator' => '='      , 'control' => 'select', 'values' => '');
$config->perfdatasource->search['params']['createdDate'] = array('operator' => '='      , 'control' => 'input' , 'values' => '', 'class' => 'date');
$config->perfdatasource->search['params']['acl']         = array('operator' => '='      , 'control' => 'select', 'values' => '');
