generateRules() public method
Generates validation rules for the specified table.
| public array generateRules ( $table ) | ||
|---|---|---|
| $table | yii\db\TableSchema | 
 The table schema  |  
| return | array | 
 The generated validation rules  |  
generateRules() public method
Generates validation rules for the specified table.
| public array generateRules ( $table ) | ||
|---|---|---|
| $table | yii\db\TableSchema | 
 The table schema  |  
| return | array | 
 The generated validation rules  |  
Please login to continue.