compared with
Version 34 by Filipe sá
on Mar 16, 2011 18:55.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (12)

View Page History
UC1: Zend_Grid_Source_SourceInterface
{code}

interface Zend_Grid_Source_SourceInterface
{

/**
* Removes any offset in que query
*/
public function resetLimit ();


/**
* Cache handler.
*
* Build the form based on a Model or query
*
* @param array $fields
* @param array $inputsType
*/
public function buildForm ($fields = array(), $inputsType = array());
public function buildForm ($inputsType = array());



/**
*
* Quotes a string
*
* @param string $value Field Value
*/
public function quoteValue($value);


/**
* Fetch pairs from a table
*
* @param string $table Table Name
* @param string $field Field Name
* @param string $fieldValue Field Value
* @param string $order Query Order
*
*/
public function getValuesForFiltersFromTable ($table, $field, $fieldValue, $order = 'name ASC');

/**
* Returns a JSON encoded array of options to be used by auto-complete operations
*
* @var string $term Term to search
* @var string $field Field to search
* @var string $specialKey Key used by user to improve search (>, <>, *, etc, etc)
* @var string $output Output format. Default json
*
* @return json
*
*/
public function getAutoCompleteForFilter( $term, $field, $specialKey='', $output = 'json');

/**
* Defines total records found
*
* @var $total Total records
*/
public function setTotalRecords($total);
}
{code}