modelGenerator: put theforeign keys on the next line instead having more than 80 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3727 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -153,7 +153,8 @@ class modelGenerator
|
|||||||
$f .= " // The foreign constraints\n";
|
$f .= " // The foreign constraints\n";
|
||||||
$f .= " \$this->foreign = array (\n";
|
$f .= " \$this->foreign = array (\n";
|
||||||
foreach ($schema["foreign"] as $field=>$params)
|
foreach ($schema["foreign"] as $field=>$params)
|
||||||
$f .= " \"$field\" => array (\"". implode ("\", \"", $params).
|
$f .= " \"$field\" => array (\n \"".
|
||||||
|
implode ("\", \"", $params).
|
||||||
"\"),\n";
|
"\"),\n";
|
||||||
$f .= " );\n";
|
$f .= " );\n";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user