Created
January 27, 2014 12:49
-
-
Save pleasedontbelong/8647994 to your computer and use it in GitHub Desktop.
cakephp habtm and validator array structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[Post] => Array | |
( | |
[name] => my test post | |
) | |
[Tag] => Array | |
( | |
[Tag] => Array | |
( | |
[0] => 1 | |
[1] => 3 | |
) | |
) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[Post] => Array | |
( | |
[name] => my other test post | |
[Tag] => Array | |
( | |
[0] => 2 | |
[1] => 4 | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment