Child classes must implement this method to provide the actual validation logic.
public validateAttribute ( |
||
$model | the data model to be validated | |
$attribute | string | the name of the attribute to be validated. |