gii\generators\model\Generator checkJunctionTable()

checkJunctionTable() protected method

Checks if the given table is a junction table, that is it has at least one pair of unique foreign keys.

protected array|boolean checkJunctionTable ( $table )
$table
return array|boolean

All unique foreign key pairs if the table is a junction table, or false if the table is not a junction table.

doc_Yii
2016-10-30 17:03:41
Comments
Leave a Comment

Please login to continue.