Generate default validation rules.
public getValidation ( |
||
$model | The model to introspect. | |
$associations | array | The associations list. |
return | array | The validation rules. |
public getValidation ( |
||
$model | The model to introspect. | |
$associations | array | The associations list. |
return | array | The validation rules. |