DboSource::_quoteMatchedField PHP Méthode

_quoteMatchedField() protected méthode

Auxiliary function to quote matches Model.fields from a preg_replace_callback call
protected _quoteMatchedField ( string $match ) : string
$match string matched string
Résultat string quoted string
    protected function _quoteMatchedField($match)
    {
        if (is_numeric($match[0])) {
            return $match[0];
        }
        return $this->name($match[0]);
    }
DboSource