I read Yii tutorial about data validation, but have the question: how can I to automatically filter user input (for example, I know, that identifier must be trimmed, or identifiers must be integers).
Are there any best practices?
I read Yii tutorial about data validation, but have the question: how can I to automatically filter user input (for example, I know, that identifier must be trimmed, or identifiers must be integers).
Are there any best practices?