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. |
Please login to continue.