protected static function resolve_field($field, $table) {
        $prefix = constant(__CLASS__ . '::ALIAS_' . core_text::strtoupper($table));
        return sprintf('%s.%s', $prefix, $field);
    }
protected static function resolve_field($field, $table) {
        $prefix = constant(__CLASS__ . '::ALIAS_' . core_text::strtoupper($table));
        return sprintf('%s.%s', $prefix, $field);
    }
protected static function resolve_field ( $ field , $ table ) { $ prefix = constant ( __CLASS__ . '::ALIAS_' . core_text :: strtoupper ( $ table ) ) ; return sprintf ( '%s.%s' , $ prefix , $ field ) ; }
Convenience method to transform a field into SQL statement.

@param string $field The field, or *.
@param string $table The table name, without the prefix 'glossary_'.
@return string SQL statement.
Convenience method to transform a field into SQL statement .