public static function addModelField(TableMap $tableMap, ModelCriteria &$query, $field, $value = null)
    {
        if ($column = self::checkFieldExists($tableMap, $field)) {
            self::addQueryFilter($column, $query, $value);
        }
    }
public static function addModelField(TableMap $tableMap, ModelCriteria &$query, $field, $value = null)
    {
        if ($column = self::checkFieldExists($tableMap, $field)) {
            self::addQueryFilter($column, $query, $value);
        }
    }
public static function addModelField ( TableMap $ tableMap , ModelCriteria & $ query , $ field , $ value = null ) { if ( $ column = self :: checkFieldExists ( $ tableMap , $ field ) ) { self :: addQueryFilter ( $ column , $ query , $ value ) ; } }
Method that adds the fields for the model into the API Query
@param TableMap $tableMap
@param ModelCriteria $query
@param string $field
@param mixed $value
Method that adds the fields for the model into the API Query